summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2009-06-28 12:24:23 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2009-06-28 12:24:23 (GMT)
commit741e6998f80d8ee90a23159788a86fcdce443224 (patch)
tree2eabd9d2bf776c4d143d3dbefc5bee9d98bc63d2
parenta4c622972ad3c2c675ece92c58dcba0ed30967e7 (diff)
downloadcpython-741e6998f80d8ee90a23159788a86fcdce443224.zip
cpython-741e6998f80d8ee90a23159788a86fcdce443224.tar.gz
cpython-741e6998f80d8ee90a23159788a86fcdce443224.tar.bz2
Fix types in logic to compute help file name.
-rw-r--r--Tools/msi/msi.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 8c8aae6..eba29cc 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -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