[Treepkg-commits] r423 - trunk/contrib/sawmill/web

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Sep 9 15:49:37 CEST 2010


Author: teichmann
Date: 2010-09-09 15:49:37 +0200 (Thu, 09 Sep 2010)
New Revision: 423

Modified:
   trunk/contrib/sawmill/web/details.py
Log:
Make walking of revision path more stable

Modified: trunk/contrib/sawmill/web/details.py
===================================================================
--- trunk/contrib/sawmill/web/details.py	2010-08-31 15:56:46 UTC (rev 422)
+++ trunk/contrib/sawmill/web/details.py	2010-09-09 13:49:37 UTC (rev 423)
@@ -102,6 +102,7 @@
         track_path = os.path.join(tracks_path, track)
         if not os.path.isdir(track_path): continue
         revisions_path = os.path.join(track_path, "pkg")
+        if not os.path.isdir(revisions_path): continue
         for revision in os.listdir(revisions_path):
             revision_path = os.path.join(revisions_path, revision)
             if not os.path.isdir(revision_path): continue



More information about the Treepkg-commits mailing list