Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db7b570

Browse files
committed
Merged revisions 73606 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r73606 | martin.v.loewis | 2009-06-28 14:24:23 +0200 (So, 28 Jun 2009) | 2 lines Fix types in logic to compute help file name. ........
1 parent 892a37a commit db7b570

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Tools/msi/msi.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@
117117

118118
# Compute the name that Sphinx gives to the docfile
119119
docfile = ""
120-
if micro:
121-
docfile = str(micro)
120+
if int(micro):
121+
docfile = micro
122122
if level < 0xf:
123123
if level == 0xC:
124-
docfile = "rc%s" % (serial,)
124+
docfile += "rc%s" % (serial,)
125125
else:
126-
docfile = '%x%s' % (level, serial)
126+
docfile += '%x%s' % (level, serial)
127127
docfile = 'python%s%s%s.chm' % (major, minor, docfile)
128128

129129
# Build the mingw import library, libpythonXY.a

0 commit comments

Comments
 (0)