Remove unneeded try except block

os.makedirs has from python-3.2 option `exist_ok`
This commit is contained in:
Ondřej Súkup
2017-06-08 20:25:34 +02:00
committed by GitHub
parent 76e3101d9b
commit ae62d36a4a

View File

@@ -288,10 +288,7 @@ def build(args, native_optimizations=True):
def safe_makedirs(path):
try:
os.makedirs(path)
except FileExistsError:
pass
os.makedirs(path, exist_ok=True)
def build_test_launcher(args):