Fixed '_nt_quote_args()': backwards logic reversed, and now it actually

returns a value.
This commit is contained in:
Greg Ward 2000-03-23 04:38:36 +00:00
parent 297dd9fed5
commit e2a33079e9
1 changed files with 2 additions and 2 deletions

View File

@ -53,9 +53,9 @@ def _nt_quote_args (args):
# quoting?)
for i in range (len (args)):
if string.find (args[i], ' ') == -1:
if string.find (args[i], ' ') != -1:
args[i] = '"%s"' % args[i]
return
def _spawn_nt (cmd,
search_path=1,