mirror of https://github.com/pypa/pip
Declare all_outputs in outer scope
This commit is contained in:
parent
872341d0be
commit
0964c9797c
|
@ -670,8 +670,8 @@ def call_subprocess(cmd, show_stdout=True, cwd=None,
|
|||
"Error %s while executing command %s", exc, command_desc,
|
||||
)
|
||||
raise
|
||||
all_output = []
|
||||
if stdout is not None:
|
||||
all_output = []
|
||||
while True:
|
||||
line = console_to_str(proc.stdout.readline())
|
||||
if not line:
|
||||
|
|
Loading…
Reference in New Issue