summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/thandy/ServerCLI.py3
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: