diff options
-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, |