mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-09 02:44:05 -05:00
make mkdir_p raise a specific exception
This commit is contained in:
parent
5507494a35
commit
875913eefa
|
|
@ -38,4 +38,5 @@ def mkdir_p(path):
|
|||
except OSError as exc: # Python >2.5
|
||||
if exc.errno == errno.EEXIST:
|
||||
pass
|
||||
else: raise
|
||||
else:
|
||||
raise exc
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user