From: Tim Peters Date: Sun, 18 Jul 2004 05:31:31 +0000 (+0000) Subject: WTF is with this script? It contained illegal syntax and illegal X-Git-Tag: v2.4a2~210 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fba4521e836e0cab08316592392b1e4d06eb6ef;p=thirdparty%2FPython%2Fcpython.git WTF is with this script? It contained illegal syntax and illegal indentation -- it could never have been run, under any version of Python. --- diff --git a/Tools/scripts/texi2html.py b/Tools/scripts/texi2html.py index 1d9a21ab4e6c..3ecaee68fef9 100755 --- a/Tools/scripts/texi2html.py +++ b/Tools/scripts/texi2html.py @@ -806,7 +806,7 @@ class TexinfoParser: # if self.savetext <> None: # print '*** Recursive footnote -- expect weirdness' id = len(self.footnotes) + 1 - self.write(self.FN_SOURCE_PATTERN % {'id': repr(id)) + self.write(self.FN_SOURCE_PATTERN % {'id': repr(id)}) self.startsaving() def close_footnote(self): @@ -1857,7 +1857,7 @@ class HTMLHelp: def dumpnodes(self, outfile=sys.stdout): self.dumped = {} if self.nodelist: - (nodename,None,None,None,None) = self.nodelist[0] + nodename, dummy, dummy, dummy, dummy = self.nodelist[0] self.topnode = nodename print>>outfile, '