mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Duh, it helps if '_nt_quote_args()' actually returns the mutated list,
rather than None.
This commit is contained in:
parent
cdb20ba56d
commit
a3c8bf382e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ def _nt_quote_args (args):
|
||||||
for i in range (len (args)):
|
for i in range (len (args)):
|
||||||
if string.find (args[i], ' ') != -1:
|
if string.find (args[i], ' ') != -1:
|
||||||
args[i] = '"%s"' % args[i]
|
args[i] = '"%s"' % args[i]
|
||||||
return
|
return args
|
||||||
|
|
||||||
def _spawn_nt (cmd,
|
def _spawn_nt (cmd,
|
||||||
search_path=1,
|
search_path=1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue