Skip to content

Commit

Permalink
Fix option in cli and get released requirementslib
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Ryan <dan@danryan.co>
  • Loading branch information
techalchemy authored and uranusjr committed Sep 5, 2018
1 parent 7358399 commit b771621
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions pipenv/cli/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ def callback(ctx, param, value):
def extra_index_option(f):
def callback(ctx, param, value):
state = ctx.ensure_object(State)
if isinstance(value, (tuple, list)):
state.extra_index_urls.extend(list(value))
else:
state.extra_index_urls.append(value)
state.extra_index_urls.extend(list(value))
return value
return option("--extra-index-url", multiple=True, expose_value=False,
help=u"URLs to the extra PyPI compatible indexes to query for package lookups.",
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/requirementslib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding=utf-8 -*-
__version__ = '1.1.6.dev0'
__version__ = '1.1.7.dev0'


from .exceptions import RequirementError
Expand Down
2 changes: 1 addition & 1 deletion pipenv/vendor/vendor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ requests==2.19.1
idna==2.7
urllib3==1.23
certifi==2018.8.24
requirementslib==1.1.5
requirementslib==1.1.6
attrs==18.1.0
distlib==0.2.7
packaging==17.1
Expand Down

0 comments on commit b771621

Please sign in to comment.