diff options
author | Greg Ward <gward@python.net> | 2000-03-23 04:38:36 +0000 |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-03-23 04:38:36 +0000 |
commit | 02ae54bb5816e2adbb2677b2d63bb12937b8a4a0 (patch) | |
tree | 38a1129a2b64f74a19bdc62519097da788ad7e67 /Lib/distutils/spawn.py | |
parent | 488635d56ea839872255c567fea4cb5307dcae1b (diff) | |
download | cpython-02ae54bb5816e2adbb2677b2d63bb12937b8a4a0.tar.gz |
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 ae3d09fa31..4e6f206991 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, |