mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-26 13:22:57 -04:00
make mkdir_p raise a specific exception
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user