diff options
author | Greg Ward <gward@python.net> | 2000-03-23 04:38:36 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-03-23 04:38:36 (GMT) |
commit | e2a33079e9325781dcbc549921664c6ff92d86b9 (patch) | |
tree | f30eefde388a095e76bc0e5cb2296743d2838929 /Lib/distutils/spawn.py | |
parent | 297dd9fed50f37f3d273e47615e5a927214d5d9e (diff) | |
download | cpython-e2a33079e9325781dcbc549921664c6ff92d86b9.zip cpython-e2a33079e9325781dcbc549921664c6ff92d86b9.tar.gz cpython-e2a33079e9325781dcbc549921664c6ff92d86b9.tar.bz2 |
Fixed '_nt_quote_args()': backwards logic reversed, and now it actually
returns a value.
Diffstat (limited to 'Lib/distutils/spawn.py')
-rw-r--r-- | Lib/distutils/spawn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/spawn.py b/Lib/distutils/spawn.py index ae3d09f..4e6f206 100644 --- a/Lib/distutils/spawn.py +++ b/Lib/distutils/spawn.py @@ -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, |