mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
bug fix
This commit is contained in:
parent
6e667b8a03
commit
ef48f8be47
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user