Commit 1ce4f9a1 authored by Tim Peters's avatar Tim Peters

WTF is with this script? It contained illegal syntax and illegal

indentation -- it could never have been run, under any version of Python.
parent 225f0ef3
...@@ -806,7 +806,7 @@ class TexinfoParser: ...@@ -806,7 +806,7 @@ class TexinfoParser:
# if self.savetext <> None: # if self.savetext <> None:
# print '*** Recursive footnote -- expect weirdness' # print '*** Recursive footnote -- expect weirdness'
id = len(self.footnotes) + 1 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() self.startsaving()
def close_footnote(self): def close_footnote(self):
...@@ -1857,7 +1857,7 @@ class HTMLHelp: ...@@ -1857,7 +1857,7 @@ class HTMLHelp:
def dumpnodes(self, outfile=sys.stdout): def dumpnodes(self, outfile=sys.stdout):
self.dumped = {} self.dumped = {}
if self.nodelist: if self.nodelist:
(nodename,None,None,None,None) = self.nodelist[0] nodename, dummy, dummy, dummy, dummy = self.nodelist[0]
self.topnode = nodename self.topnode = nodename
print>>outfile, '<UL>' print>>outfile, '<UL>'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment