diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-10 23:40:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 23:40:02 (GMT) |
commit | 00e2fe4f214eadd5714751968e158c78a8a3f04b (patch) | |
tree | e8f91d986473cde57f20069fed1e0547fc265e72 /PC | |
parent | 3ac65a7161ddf492050302e0c7d67d1d81cb4930 (diff) | |
download | cpython-00e2fe4f214eadd5714751968e158c78a8a3f04b.zip cpython-00e2fe4f214eadd5714751968e158c78a8a3f04b.tar.gz cpython-00e2fe4f214eadd5714751968e158c78a8a3f04b.tar.bz2 |
bpo-39012: Fix RC version suffix for nuget release files (GH-17564)
(cherry picked from commit d0802d07d2c864b95480a9b24c7cc050e19189d5)
Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'PC')
-rw-r--r-- | PC/layout/support/constants.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/layout/support/constants.py b/PC/layout/support/constants.py index a864763..6cf0fe1 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}" |