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

benjamin.peterson python-checkins at python.org
Sat Jun 13 17:48:04 CEST 2009


Author: benjamin.peterson
Date: Sat Jun 13 17:48:04 2009
New Revision: 73418

Log:
handle different rc format

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	Sat Jun 13 17:48:04 2009
@@ -119,7 +119,10 @@
 if micro:
     docfile = str(micro)
 if level < 0xf:
-    docfile = '%x%s' % (level, serial)
+    if level == 0xC:
+        docfile = "rc%s" % (serial,)
+    else:
+        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