]> granicus.if.org Git - python/commitdiff
bug [ 1072853 ] thisid not intialized in pindent.py script
authorGeorg Brandl <georg@python.org>
Sun, 26 Jun 2005 20:20:48 +0000 (20:20 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 26 Jun 2005 20:20:48 +0000 (20:20 +0000)
Tools/scripts/pindent.py

index 39cdcc8b469dcaf0bb06208d0edd06a279f93319..89ed9e6999805c165e276ab3afd7ed7b1c5cc268 100755 (executable)
@@ -238,6 +238,7 @@ class PythonIndenter:
         self.indentsize = 1
         stack = []
         todo = []
+        thisid = ''
         current, firstkw, lastkw, topid = 0, '', '', ''
         while 1:
             line = self.getline()