[Python-checkins] r73606 - python/trunk/Tools/msi/msi.py

martin.v.loewis python-checkins at python.org
Sun Jun 28 14:24:23 CEST 2009


Author: martin.v.loewis
Date: Sun Jun 28 14:24:23 2009
New Revision: 73606
Log:
Fix types in logic to compute help file name.
Modified:
 python/trunk/Tools/msi/msi.py
Modified: python/trunk/Tools/msi/msi.py
==============================================================================
--- python/trunk/Tools/msi/msi.py	(original)
+++ python/trunk/Tools/msi/msi.py	Sun Jun 28 14:24:23 2009
@@ -116,13 +116,13 @@
 
 # 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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /