summaryrefslogtreecommitdiffstats
path: root/Tools/msi/msi.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/msi/msi.py')
-rw-r--r--Tools/msi/msi.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
index 986852a..95c07bc 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -120,7 +120,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