Commit 741e6998 authored by Martin v. Löwis's avatar Martin v. Löwis

Fix types in logic to compute help file name.

parent a4c62297
......@@ -116,13 +116,13 @@ pythondll_uuid = {
# Compute the name that Sphinx gives to the docfile
docfile = ""
if micro:
docfile = str(micro)
if int(micro):
docfile = micro
if level < 0xf:
if level == 0xC:
docfile = "rc%s" % (serial,)
docfile += "rc%s" % (serial,)
else:
docfile = '%x%s' % (level, serial)
docfile += '%x%s' % (level, serial)
docfile = 'python%s%s%s.chm' % (major, minor, docfile)
# Build the mingw import library, libpythonXY.a
......
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