From: Georg Brandl Date: Sun, 26 Jun 2005 20:22:46 +0000 (+0000) Subject: backport bug [ 1072853 ] thisid not intialized in pindent.py script X-Git-Tag: v2.4.2c1~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a0c05a893ea6390e8fff3f6e5da9890a4bf3ea3;p=thirdparty%2FPython%2Fcpython.git backport bug [ 1072853 ] thisid not intialized in pindent.py script --- diff --git a/Tools/scripts/pindent.py b/Tools/scripts/pindent.py index 39cdcc8b469d..89ed9e699980 100755 --- a/Tools/scripts/pindent.py +++ b/Tools/scripts/pindent.py @@ -238,6 +238,7 @@ class PythonIndenter: self.indentsize = 1 stack = [] todo = [] + thisid = '' current, firstkw, lastkw, topid = 0, '', '', '' while 1: line = self.getline()