From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 10 Dec 2019 23:40:02 +0000 (-0800) Subject: bpo-39012: Fix RC version suffix for nuget release files (GH-17564) X-Git-Tag: v3.8.1~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00e2fe4f214eadd5714751968e158c78a8a3f04b;p=thirdparty%2FPython%2Fcpython.git bpo-39012: Fix RC version suffix for nuget release files (GH-17564) (cherry picked from commit d0802d07d2c864b95480a9b24c7cc050e19189d5) Co-authored-by: Steve Dower --- diff --git a/PC/layout/support/constants.py b/PC/layout/support/constants.py index a8647631e9b4..6cf0fe1d34c4 100644 --- a/PC/layout/support/constants.py +++ b/PC/layout/support/constants.py @@ -20,7 +20,7 @@ def _unpack_hexversion(): 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: serial = field4 & 0x0F return f"{name}{serial}"