Fix parameter passing.
authorGeorg Brandl <georg@python.org>
Thu, 24 May 2007 17:33:33 +0000 (17:33 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 24 May 2007 17:33:33 +0000 (17:33 +0000)
Lib/shlex.py

index fa18bb95e47c6ee71676694adc09adc461a9fb3b..e7c8accd427590b035bdf47f82d005daec879c63 100644 (file)
@@ -272,7 +272,7 @@ class shlex:
         return token
 
 def split(s, comments=False, posix=True):
-    lex = shlex(s, posix)
+    lex = shlex(s, posix=posix)
     lex.whitespace_split = True
     if not comments:
         lex.commenters = ''