diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-06-13 15:48:04 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-06-13 15:48:04 (GMT) |
commit | 0805b28fd29be83b4fde3585dfb70634d33c52ca (patch) | |
tree | 5894075c1591d2bf1c0123d8c5739d9fd12d8663 /Tools | |
parent | fb23463139a173062031df9c258ac772b56ae08d (diff) | |
download | cpython-0805b28fd29be83b4fde3585dfb70634d33c52ca.zip cpython-0805b28fd29be83b4fde3585dfb70634d33c52ca.tar.gz cpython-0805b28fd29be83b4fde3585dfb70634d33c52ca.tar.bz2 |
handle different rc format
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/msi.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index f2e0655..63a4961 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -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 |