changeset 463:52f841330c16

Make walking of revision path more stable
author Sascha Teichmann <teichmann@intevation.de>
date Thu, 09 Sep 2010 13:49:37 +0000
parents 058856954e2d
children 5fda6768bef6
files contrib/sawmill/web/details.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/sawmill/web/details.py	Tue Aug 31 15:56:46 2010 +0000
+++ b/contrib/sawmill/web/details.py	Thu Sep 09 13:49:37 2010 +0000
@@ -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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)