[Treepkg-commits] r451 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Sep 30 11:38:40 CEST 2010


Author: bricks
Date: 2010-09-30 11:38:40 +0200 (Thu, 30 Sep 2010)
New Revision: 451

Modified:
   trunk/treepkg/report.py
Log:
skip reports without a status and status starttime


Modified: trunk/treepkg/report.py
===================================================================
--- trunk/treepkg/report.py	2010-09-29 19:25:52 UTC (rev 450)
+++ trunk/treepkg/report.py	2010-09-30 09:38:40 UTC (rev 451)
@@ -102,6 +102,8 @@
         revisions = []
         for column, track in enumerate(self.tracks):
             for revision in track.get_revisions():
+                if not revision.status or not revision.status.start:
+                    continue
                 revisions.append((revision.status.start,
                                   struct(revno=revision.revision,
                                          revision=revision,



More information about the Treepkg-commits mailing list