diff options
author | Damien George <damien.p.george@gmail.com> | 2019-02-25 00:20:52 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-03-08 16:51:09 +1100 |
commit | 6e11d8631821d7e8bf7c6b1feab11b83f2a8577a (patch) | |
tree | 66fe6f4feff5cf73fc658c2c19a80130a72c162c | |
parent | 2bcb240b559ff440d7f008b93bb626f7d7f33cf3 (diff) | |
download | micropython-6e11d8631821d7e8bf7c6b1feab11b83f2a8577a.tar.gz micropython-6e11d8631821d7e8bf7c6b1feab11b83f2a8577a.zip |
tools/upip.py: Use "raise arg" instead of no-arg raise form, for native.
-rw-r--r-- | tools/upip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upip.py b/tools/upip.py index a400c31743..7ecf61e54b 100644 --- a/tools/upip.py +++ b/tools/upip.py @@ -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 |