Fix parameter passing.

This commit is contained in:
Georg Brandl 2007-05-24 17:33:33 +00:00
parent c90bc75994
commit dd96ca3d6b
1 changed files with 1 additions and 1 deletions

View 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 = ''