Skip to content

Commit

Permalink
Fix exists-action argument passing
Browse files Browse the repository at this point in the history
- Fixes #2326

Signed-off-by: Dan Ryan <[email protected]>
  • Loading branch information
techalchemy committed Jul 18, 2018
1 parent 25abbc9 commit caf6046
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 caf6046

Please sign in to comment.