diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-11-16 23:30:12 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-11-16 23:30:12 +0000 |
commit | 42705c5bd0a6d565d8c6caf6e74edde3c0ae223d (patch) | |
tree | 6d6162173e2deb025d85fddf2f36583d7d6f9d61 | |
parent | 089508b5dfdeff9bd5345a1527d603d59e1df45d (diff) |
Try to fix timestamp generation with bundles.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17296 55e972cd-5a19-0410-ae62-a4d7a52db4cd
-rw-r--r-- | lib/thandy/ServerCLI.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/thandy/ServerCLI.py b/lib/thandy/ServerCLI.py index 794e119..192837c 100644 --- a/lib/thandy/ServerCLI.py +++ b/lib/thandy/ServerCLI.py @@ -142,9 +142,10 @@ def timestamp(args): bundles = [] for dirpath, dirname, fns in os.walk(os.path.join(repo, "bundleinfo")): for fn in fns: + fn = os.path.join(dirpath, fn) try: bObj = snarfObj(fn) - except (ValueError, OSError), e: + except (ValueError, OSError, IOError), e: print "(Couldn't read bundle-like %s)"%fn continue try: |