]> granicus.if.org Git - python/commitdiff
Bug reported by Tobias Thelen: missing "self." in assignment target.
authorGuido van Rossum <guido@python.org>
Mon, 22 Mar 1999 15:28:08 +0000 (15:28 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 22 Mar 1999 15:28:08 +0000 (15:28 +0000)
Lib/shlex.py

index 8b4ac7a0d20da91b60d981cb8eeb563d963674a7..173edde3999a77f9c09c4a1465a4db2228355357 100644 (file)
@@ -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: