mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
tools/upip.py: Use "raise arg" instead of no-arg raise form, for native.
This commit is contained in:
@@ -55,7 +55,7 @@ def _makedirs(name, mode=0o777):
|
||||
ret = True
|
||||
except OSError as e:
|
||||
if e.args[0] != errno.EEXIST and e.args[0] != errno.EISDIR:
|
||||
raise
|
||||
raise e
|
||||
ret = False
|
||||
return ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user