bpo-39012: Fix RC version suffix for nuget release files (GH-17564)

This commit is contained in:
Steve Dower 2019-12-10 15:19:03 -08:00 committed by GitHub
parent 1d0f9b316a
commit d0802d07d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def _unpack_hexversion():
def _get_suffix(field4): def _get_suffix(field4):
name = {0xA0: "a", 0xB0: "b", 0xC0: "c"}.get(field4 & 0xF0, "") name = {0xA0: "a", 0xB0: "b", 0xC0: "rc"}.get(field4 & 0xF0, "")
if name: if name:
serial = field4 & 0x0F serial = field4 & 0x0F
return f"{name}{serial}" return f"{name}{serial}"