summaryrefslogtreecommitdiffstats
path: root/Doc/tools/mkhowto
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-12 15:30:22 (GMT)
committerFred Drake <fdrake@acm.org>2001-02-12 15:30:22 (GMT)
commitb258bedb138587a30e13bac378b5a00ea5e4c7bf (patch)
tree14d70756acabe28eb2a6e0ac67ab8b1ae1348411 /Doc/tools/mkhowto
parent90f22fee6bbd577c6d1d9206a143c006e1fe3d6b (diff)
downloadcpython-b258bedb138587a30e13bac378b5a00ea5e4c7bf.zip
cpython-b258bedb138587a30e13bac378b5a00ea5e4c7bf.tar.gz
cpython-b258bedb138587a30e13bac378b5a00ea5e4c7bf.tar.bz2
Jon Nelson <jnelson@users.sourceforge.net>:
Make the documentation tools compatibile with Python 2.0.
Diffstat (limited to 'Doc/tools/mkhowto')
-rwxr-xr-xDoc/tools/mkhowto4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/mkhowto b/Doc/tools/mkhowto
index 28f18b6..8826924 100755
--- a/Doc/tools/mkhowto
+++ b/Doc/tools/mkhowto
@@ -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")