mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #1558 from gzzo/patch-2
Fix --selective-upgrade compatibility with Python 2
This commit is contained in:
+1
-1
@@ -1840,7 +1840,7 @@ def do_install(
|
||||
# Support for --selective-upgrade.
|
||||
if selective_upgrade:
|
||||
|
||||
for i, package_name in enumerate(package_names.copy()):
|
||||
for i, package_name in enumerate(package_names[:]):
|
||||
section = project.packages if not dev else project.dev_packages
|
||||
package = convert_deps_from_pip(package_name)
|
||||
package__name = list(package.keys())[0]
|
||||
|
||||
Reference in New Issue
Block a user