Skip to content

Commit

Permalink
Merge pull request #2 from martinet101/patch-2
Browse files Browse the repository at this point in the history
Update system.py
  • Loading branch information
marticliment committed Apr 18, 2021
2 parents 26db2cd + 39930b4 commit cbdbb32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pipupgrade/util/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ def popen(*args, **kwargs):
code = proc.wait()

if code and raise_err:
raise PopenError(code, command)
print("An error occurred while updating package:", PopenError(code, command))
#raise PopenError(code, command)

if output:
output, error = proc.communicate()
Expand Down Expand Up @@ -125,4 +126,4 @@ def touch(filename):
def make_temp_dir():
dir_path = tempfile.mkdtemp()
yield dir_path
shutil.rmtree(dir_path)
shutil.rmtree(dir_path)

0 comments on commit cbdbb32

Please sign in to comment.