Skip to content

Commit

Permalink
Return all sources for Requirement generation
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <[email protected]>
  • Loading branch information
techalchemy committed Jun 8, 2018
1 parent 5e5316c commit 79409be
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pipenv/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,6 @@ def convert_deps_to_pip(deps, project=None, r=True, include_index=False):
dependencies = []
for dep_name, dep in deps.items():
indexes = project.sources if hasattr(project, 'sources') else None
if hasattr(dep, 'keys') and dep.get('index'):
indexes = project.get_source(dep['index'])
new_dep = Requirement.from_pipfile(dep_name, dep)
req = new_dep.as_line(
sources=indexes if include_index else None
Expand Down

0 comments on commit 79409be

Please sign in to comment.