Fixed '_nt_quote_args()': backwards logic reversed, and now it actually
returns a value.
This commit is contained in:
parent
297dd9fed5
commit
e2a33079e9
|
@ -53,9 +53,9 @@ def _nt_quote_args (args):
|
||||||
# quoting?)
|
# quoting?)
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
def _spawn_nt (cmd,
|
def _spawn_nt (cmd,
|
||||||
search_path=1,
|
search_path=1,
|
||||||
|
|
Loading…
Reference in New Issue