summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-06-26 20:22:46 (GMT)
committerGeorg Brandl <georg@python.org>2005-06-26 20:22:46 (GMT)
commit2a0c05a893ea6390e8fff3f6e5da9890a4bf3ea3 (patch)
tree5b8cc6c8bcf6a055d2c3c5997cc66b82062953da /Tools
parent0978a134dee9b1007a8541b3886a665c69db7733 (diff)
downloadcpython-2a0c05a893ea6390e8fff3f6e5da9890a4bf3ea3.zip
cpython-2a0c05a893ea6390e8fff3f6e5da9890a4bf3ea3.tar.gz
cpython-2a0c05a893ea6390e8fff3f6e5da9890a4bf3ea3.tar.bz2
backport bug [ 1072853 ] thisid not intialized in pindent.py script
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/pindent.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/scripts/pindent.py b/Tools/scripts/pindent.py
index 39cdcc8..89ed9e6 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()