]> granicus.if.org Git - python/commitdiff
Fix types in logic to compute help file name.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 28 Jun 2009 12:24:23 +0000 (12:24 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 28 Jun 2009 12:24:23 +0000 (12:24 +0000)
Tools/msi/msi.py

index 8c8aae6742d371e82236291a884940ea665f4dd6..eba29ccfa9c7cb053bf56d5808a5fc524b01f661 100644 (file)
@@ -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