Skip to content

Commit

Permalink
Merge pull request #2610 from pypa/bugfix/2326-exists-action-bug
Browse files Browse the repository at this point in the history
Fix `exists-action` argument passing
  • Loading branch information
uranusjr authored Jul 19, 2018
2 parents 25abbc9 + caf6046 commit 568a9d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/2610.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed a rare bug which could sometimes cause errors when installing packages with custom sources.
2 changes: 1 addition & 1 deletion pipenv/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ def pip_install(
upgrade_strategy = (
"--upgrade --upgrade-strategy=only-if-needed" if selective_upgrade else ""
)
pip_command = "{0} install {4} {5} {6} {7} {3} {1} {2} --exists-action w".format(
pip_command = "{0} install {4} {5} {6} {7} --exists-action w {3} {1} {2}".format(
quoted_pip,
install_reqs,
" ".join(prepare_pip_source_args(sources)),
Expand Down

0 comments on commit 568a9d2

Please sign in to comment.