]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Duh, it helps if '_nt_quote_args()' actually returns the mutated list,
authorGreg Ward <gward@python.net>
Sun, 26 Mar 2000 21:47:00 +0000 (21:47 +0000)
committerGreg Ward <gward@python.net>
Sun, 26 Mar 2000 21:47:00 +0000 (21:47 +0000)
rather than None.

Lib/distutils/spawn.py

index 4e6f20699140a715c72b2eb6ac6f09358be56330..86ea3dfb501a0d744d0c2d05e76cf2103ed8983a 100644 (file)
@@ -55,7 +55,7 @@ def _nt_quote_args (args):
     for i in range (len (args)):
         if string.find (args[i], ' ') != -1:
             args[i] = '"%s"' % args[i]
-    return 
+    return args
 
 def _spawn_nt (cmd,
                search_path=1,