From 42705c5bd0a6d565d8c6caf6e74edde3c0ae223d Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 16 Nov 2008 23:30:12 +0000 Subject: Try to fix timestamp generation with bundles. git-svn-id: file:///home/or/svnrepo/updater/trunk@17296 55e972cd-5a19-0410-ae62-a4d7a52db4cd --- lib/thandy/ServerCLI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3