mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Jon Nelson <jnelson@users.sourceforge.net>:
Make the documentation tools compatibile with Python 2.0.
This commit is contained in:
parent
90f22fee6b
commit
b258bedb13
3 changed files with 9 additions and 8 deletions
|
@ -297,7 +297,7 @@ class Job:
|
|||
# let the doctype-specific handler do some intermediate work:
|
||||
#
|
||||
self.run("%s %s" % (binary, self.doc))
|
||||
self.latex_runs += 1
|
||||
self.latex_runs = self.latex_runs + 1
|
||||
if os.path.isfile("mod%s.idx" % self.doc):
|
||||
self.run("%s -s %s mod%s.idx"
|
||||
% (MAKEINDEX_BINARY, ISTFILE, self.doc))
|
||||
|
@ -319,7 +319,7 @@ class Job:
|
|||
if self.use_bibtex:
|
||||
self.run("%s %s" % (BIBTEX_BINARY, self.doc))
|
||||
self.run("%s %s" % (binary, self.doc))
|
||||
self.latex_runs += 1
|
||||
self.latex_runs = self.latex_runs + 1
|
||||
|
||||
def process_synopsis_files(self):
|
||||
synopsis_files = glob.glob(self.doc + "*.syn")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue