mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Reraise current exc
This commit is contained in:
parent
b8cea86364
commit
b33da32f1c
|
@ -229,7 +229,7 @@ class ConfigurationCommand(Command):
|
|||
except FileNotFoundError as e:
|
||||
if WINDOWS:
|
||||
e.filename = editor
|
||||
raise e
|
||||
raise
|
||||
except subprocess.CalledProcessError as e:
|
||||
raise PipError(
|
||||
"Editor Subprocess exited with exit code {}".format(e.returncode)
|
||||
|
|
Loading…
Reference in a new issue