From cfa28f0c4a285e91a9e3b6ee519cfc909587c7c7 Mon Sep 17 00:00:00 2001 From: Aidan Holland Date: Mon, 11 Feb 2019 17:14:29 -0500 Subject: [PATCH] Empty Exceptions --- build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index 25272a43a..9d919534f 100755 --- a/build.py +++ b/build.py @@ -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