fix falsiness

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-24 21:58:45 -04:00
parent 9b8e0ea33d
commit bee8d8cd52
+1 -1
View File
@@ -1245,7 +1245,7 @@ def pip_install(
# Install dependencies when a package is a VCS dependency.
if [x for x in requirements.parse(package_name.split('--hash')[0])][0].vcs:
no_deps = False
if allow_global is False:
if not allow_global:
src = '--src {0}'.format(project.virtualenv_src_location)
else:
src = ''