Commit 72245204 authored by Guido van Rossum's avatar Guido van Rossum

Bug reported by Tobias Thelen: missing "self." in assignment target.

parent b4101133
......@@ -95,7 +95,7 @@ class shlex:
self.pushback = [nextchar] + self.pushback
if self.debug >= 2:
print "I see punctuation in word state"
state = ' '
self.state = ' '
if self.token:
break # emit current token
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment