bigeagle %!s(int64=11) %!d(string=hai) anos
pai
achega
ef48f8be47
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tunasync_snapshot_gc.py

+ 2 - 2
tunasync_snapshot_gc.py

@@ -27,8 +27,8 @@ if __name__ == "__main__":
                     print("GC: {}".format(abs_fname))
                     try:
                         ret = sh.btrfs("subvolume", "delete", abs_fname)
-                    except sh.ErrorReturnCode:
-                        print("Error: {}".format(ret.stderr))
+                    except sh.ErrorReturnCode, e:
+                        print("Error: {}".format(e.stderr))
                 else:
                     walk(abs_fname, level+1)