Merge pull request #4735 from chrisalbright/patch-1

pip module: fix unexpected behavior when creating virtualenvs
This commit is contained in:
jctanner 2013-11-05 15:50:08 -08:00
commit 9aa93fa307

View file

@ -247,7 +247,7 @@ def main():
if module.params['virtualenv_site_packages']:
cmd = '%s --system-site-packages %s' % (virtualenv, env)
else:
cmd = '%s %s' % (virtualenv, env)
cmd = '%s --no-site-packages %s' % (virtualenv, env)
os.chdir(tempfile.gettempdir())
if chdir:
os.chdir(chdir)