summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/shlex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py
index 8b4ac7a..173edde 100644
--- a/Lib/shlex.py
+++ b/Lib/shlex.py
@@ -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: