]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
handle different rc format
authorBenjamin Peterson <benjamin@python.org>
Sat, 13 Jun 2009 15:48:04 +0000 (15:48 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 13 Jun 2009 15:48:04 +0000 (15:48 +0000)
Tools/msi/msi.py

index f2e0655ce549120fa57899fb21a172818c90ec7d..63a4961372df150884f2ea833717a155dc9d251e 100644 (file)
@@ -119,7 +119,10 @@ docfile = ""
 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