Commit cfa28f0c authored by Aidan Holland's avatar Aidan Holland Committed by John Wu

Empty Exceptions

parent ab47b717
......@@ -60,7 +60,7 @@ config = {}
def mv(source, target):
try:
shutil.move(source, target)
except shutil.Error:
except:
pass
......@@ -68,7 +68,7 @@ def cp(source, target):
try:
shutil.copyfile(source, target)
vprint(f'cp: {source} -> {target}')
except shutil.Error:
except:
pass
......@@ -83,7 +83,7 @@ def rm(file):
def mkdir(path, mode=0o777):
try:
os.mkdir(path, mode)
except OSError:
except:
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment