mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Remove accidental duplicate backslash, add comment
This commit is contained in:
+3
-1
@@ -238,7 +238,9 @@ def activate_virtualenv(source=True):
|
||||
if 'csh' in os.environ['SHELL']:
|
||||
suffix = '.csh'
|
||||
|
||||
venv_location = project.virtualenv_location.replace(' ', '\\ ')
|
||||
# Escape any spaces located within the virtualenv path to allow
|
||||
# for proper activation.
|
||||
venv_location = project.virtualenv_location.replace(' ', '\ ')
|
||||
|
||||
if source:
|
||||
return 'source {0}/bin/activate{1}'.format(venv_location, suffix)
|
||||
|
||||
Reference in New Issue
Block a user