From e2a33079e9325781dcbc549921664c6ff92d86b9 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Thu, 23 Mar 2000 04:38:36 +0000 Subject: Fixed '_nt_quote_args()': backwards logic reversed, and now it actually returns a value. --- Lib/distutils/spawn.py | 4 ++-- 1 file 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, -- cgit v0.12