upgradecheck upgradecheckspam.py,1.1,1.2

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sat Jun 16 08:28:09 UTC 2007


Author: mschwendt

Update of /cvs/fedora/upgradecheck
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17510

Modified Files:
	upgradecheckspam.py 
Log Message:
correct indentation removes the superfluous empty line between the printed broken_paths


Index: upgradecheckspam.py
===================================================================
RCS file: /cvs/fedora/upgradecheck/upgradecheckspam.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- upgradecheckspam.py	15 Jun 2007 22:10:24 -0000	1.1
+++ upgradecheckspam.py	16 Jun 2007 08:28:07 -0000	1.2
@@ -210,13 +210,12 @@
             for owner in ownerlist:
                 reports.setdefault(owner,[])
                 reports[owner].append(name)
-            for broken in broken_paths:
-                what = "  %s > %s (%s > %s)" % \
-                       (broken[0]["repo"], broken[1]["repo"],
-                        evrstr(broken[0]["evr"]), evrstr(broken[1]["evr"]))
-                for owner in ownerlist:
+                for broken in broken_paths:
+                    what = "  %s > %s (%s > %s)" % \
+                           (broken[0]["repo"], broken[1]["repo"],
+                            evrstr(broken[0]["evr"]), evrstr(broken[1]["evr"]))
                     reports[owner].append(what)
-                    reports[owner].append("")
+                reports[owner].append("")
 
     if not opts.nomail:
         s = smtplib.SMTP()




More information about the scm-commits mailing list