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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jul 29 18:05:55 CEST 2010


Author: bricks
Date: 2010-07-29 18:05:54 +0200 (Thu, 29 Jul 2010)
New Revision: 395

Modified:
   branches/treepkg-status/treepkg/info/status.py
Log:
fixed another typo
treepkg is really slow with many revisions


Modified: branches/treepkg-status/treepkg/info/status.py
===================================================================
--- branches/treepkg-status/treepkg/info/status.py	2010-07-29 14:59:10 UTC (rev 394)
+++ branches/treepkg-status/treepkg/info/status.py	2010-07-29 16:05:54 UTC (rev 395)
@@ -92,13 +92,14 @@
         revisions = sorted(revisions, key=lambda r: r.status.start,
                            reverse=True)
         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 self.numnewestrev > 0:
-            canditates = candidates[:self.numnewestrev]
+            candidates = candidates[:self.numnewestrev]
 
         arch = None
 



More information about the Treepkg-commits mailing list