mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Fix dependency list type mismatch
This commit is contained in:
+1
-2
@@ -820,8 +820,7 @@ def do_install_dependencies(
|
||||
for l in (deps_list, dev_deps_list):
|
||||
for i, dep in enumerate(l):
|
||||
if '--hash' not in dep[0]:
|
||||
l[i] = list(l[i])
|
||||
l[i][0] = '# {0}'.format(l[i][0])
|
||||
l[i] = ('# {0}'.format(l[i][0]),) + l[i][1:]
|
||||
|
||||
# Output only default dependencies
|
||||
if not dev:
|
||||
|
||||
Reference in New Issue
Block a user