tools/upip.py: Use "raise arg" instead of no-arg raise form, for native.
This commit is contained in:
parent
2bcb240b55
commit
6e11d86318
@ -55,7 +55,7 @@ def _makedirs(name, mode=0o777):
|
|||||||
ret = True
|
ret = True
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
if e.args[0] != errno.EEXIST and e.args[0] != errno.EISDIR:
|
if e.args[0] != errno.EEXIST and e.args[0] != errno.EISDIR:
|
||||||
raise
|
raise e
|
||||||
ret = False
|
ret = False
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user