mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Make sure we quote the prompt option to the virtualenv_mod
.
This commit is contained in:
parent
d8536c9f87
commit
90df84fb27
@ -176,7 +176,7 @@ def create(path,
|
|||||||
else:
|
else:
|
||||||
cmd.append('--never-download')
|
cmd.append('--never-download')
|
||||||
if prompt is not None and prompt.strip() != '':
|
if prompt is not None and prompt.strip() != '':
|
||||||
cmd.append('--prompt={0}'.format(prompt))
|
cmd.append('--prompt={0!r}'.format(prompt))
|
||||||
else:
|
else:
|
||||||
# venv module from the Python >= 3.3 standard library
|
# venv module from the Python >= 3.3 standard library
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user