Skip to content

Commit 7d123e2

Browse files
authored
Merge pull request #936 from zooba/patch-1
Remove invalid quotes and comment
2 parents 6431406 + ccb4c66 commit 7d123e2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

virtualenv.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,12 +1371,6 @@ def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, sy
13711371
else:
13721372
copyfile(py_executable, full_pth, symlink)
13731373

1374-
if is_win and ' ' in py_executable:
1375-
# There's a bug with subprocess on Windows when using a first
1376-
# argument that has a space in it. Instead we have to quote
1377-
# the value:
1378-
py_executable = '"%s"' % py_executable
1379-
# NOTE: keep this check as one line, cmd.exe doesn't cope with line breaks
13801374
cmd = [py_executable, '-c', 'import sys;out=sys.stdout;'
13811375
'getattr(out, "buffer", out).write(sys.prefix.encode("utf-8"))']
13821376
logger.info('Testing executable with %s %s "%s"' % tuple(cmd))

0 commit comments

Comments
 (0)