handle different rc format

This commit is contained in:
Benjamin Peterson 2009-06-13 15:48:04 +00:00
parent fb23463139
commit 0805b28fd2
1 changed files with 4 additions and 1 deletions

View 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