From 6e11d8631821d7e8bf7c6b1feab11b83f2a8577a Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 25 Feb 2019 00:20:52 +1100 Subject: [PATCH] tools/upip.py: Use "raise arg" instead of no-arg raise form, for native. --- tools/upip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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