Empty Exceptions

This commit is contained in:
Aidan Holland 2019-02-11 17:14:29 -05:00 committed by John Wu
parent ab47b717b1
commit cfa28f0c4a
1 changed files with 3 additions and 3 deletions

View File

@ -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