# HG changeset patch # User Sascha Teichmann # Date 1284040177 0 # Node ID 52f841330c166773f9478d4912f6cbe2c3973f29 # Parent 058856954e2d16a36422edf44f5126e0dca5ef6d Make walking of revision path more stable diff -r 058856954e2d -r 52f841330c16 contrib/sawmill/web/details.py --- 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