Remove unneeded try except block
os.makedirs has from python-3.2 option `exist_ok`
This commit is contained in:
parent
76e3101d9b
commit
ae62d36a4a
1 changed files with 1 additions and 4 deletions
5
setup.py
5
setup.py
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue