mirror of
https://github.com/python/cpython.git
synced 2024-11-28 08:20:55 +01: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
@ -55,7 +55,7 @@ def _nt_quote_args (args):
|
||||
for i in range (len (args)):
|
||||
if string.find (args[i], ' ') != -1:
|
||||
args[i] = '"%s"' % args[i]
|
||||
return
|
||||
return args
|
||||
|
||||
def _spawn_nt (cmd,
|
||||
search_path=1,
|
||||
|
Loading…
Reference in New Issue
Block a user