Remove accidental duplicate backslash, add comment

This commit is contained in:
Jesse Braham
2017-01-25 17:39:23 -08:00
parent c1dced60c1
commit fa349f6c4a
+3 -1
View File
@@ -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)