[Treepkg-commits] r394 - branches/treepkg-status/treepkg/info

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jul 29 16:59:10 CEST 2010


Author: bricks
Date: 2010-07-29 16:59:10 +0200 (Thu, 29 Jul 2010)
New Revision: 394

Modified:
   branches/treepkg-status/treepkg/info/status.py
Log:
fixed another typo


Modified: branches/treepkg-status/treepkg/info/status.py
===================================================================
--- branches/treepkg-status/treepkg/info/status.py	2010-07-29 14:52:42 UTC (rev 393)
+++ branches/treepkg-status/treepkg/info/status.py	2010-07-29 14:59:10 UTC (rev 394)
@@ -91,11 +91,11 @@
         revisions = track.get_revisions()
         revisions = sorted(revisions, key=lambda r: r.status.start,
                            reverse=True)
-        canidates = revisions
+        candidates = revisions
         if self.success: # skip not successful builds
             candidates = [rev for rev in revisions
-                          if rev.status.status.finished 
-                            and not rev.status.status.error]
+                          if rev.status.status.finished
+                             and not rev.status.status.error]
 
         if self.numnewestrev > 0:
             canditates = candidates[:self.numnewestrev]



More information about the Treepkg-commits mailing list