]> arthur.barton.de Git - bup.git/blobdiff - cmd/cat-file-cmd.py
Use BytesIO instead of StringIO
[bup.git] / cmd / cat-file-cmd.py
index 735a2398022b4e64d3c7d4a645a83fd311cab2b0..d8a3dc559cc553e6f11abf3d9067a383d50786c5 100755 (executable)
@@ -37,7 +37,7 @@ if not re.match(r'/*[^/]+/[^/]+', target):
 
 try:
     n = top.lresolve(target)
-except vfs.NodeError, e:
+except vfs.NodeError as e:
     o.fatal(e)
 
 if isinstance(n, vfs.FakeSymlink):