Skip to content

Commit

Permalink
fix iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Apr 10, 2018
1 parent 4b29040 commit 29e9b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipenv/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def add_package_to_pipfile(self, package_name, dev=False):
p[key] = {}
package = convert_deps_from_pip(package_name)
package_name = [k for k in package.keys()][0]
for name in p[key]:
for name in dict(p[key]):
# Normalize names to compare
if (
pep423_name(name) == pep423_name(package_name) and
Expand Down

0 comments on commit 29e9b23

Please sign in to comment.