Merge pull request #2986 from WPMedia/trusted-host-keyword-error

Keyword arg error in Getting `add_index_to_pipfile`
This commit is contained in:
Dan Ryan
2018-10-10 17:00:18 -04:00
committed by GitHub
+1 -1
View File
@@ -238,7 +238,7 @@ def import_requirements(r=None, dev=False):
project.add_package_to_pipfile(str(package.req), dev=dev)
for index in indexes:
trusted = index in trusted_hosts
project.add_index_to_pipfile(index, trusted_host=trusted)
project.add_index_to_pipfile(index, verify_ssl=trusted)
project.recase_pipfile()