Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Fix string to look into in OUT when installing a module
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jan 18, 2019
1 parent 4c7dbd1 commit 2de6561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymyinstall/installhelper/module_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ def install(self, force_kind=None, force=False, temp_folder=".",
mes = "(8) unable to install with wheel {0}\nread:\n{1}\nCMD:\n{2}\nOUT:\n{3}\nERR-V:\n{4}".format(
str(self), url, cmd, out, err)
raise InstallError(mes)
if "Requirement already satisfied" not in out:
if "Requirement already satisfied" not in out and "Requirement already up-to-date" not in out:
mes = "(9) unable to install with wheel {0}\nCMD:\n{1}\nOUT:\n{2}\nERR-W:\n{3}".format(
str(self), cmd, out, err)
raise InstallError(mes)
Expand Down

0 comments on commit 2de6561

Please sign in to comment.