diff options
| author | Steve Dower <steve.dower@python.org> | 2019-12-10 23:19:03 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-10 23:19:03 (GMT) |
| commit | d0802d07d2c864b95480a9b24c7cc050e19189d5 (patch) | |
| tree | 03637f14824cf535a108c1c64148bc22dfc20014 /PC/layout/support/constants.py | |
| parent | 1d0f9b316a290f0e1f330fdbceb027deb96ce109 (diff) | |
| download | cpython-d0802d07d2c864b95480a9b24c7cc050e19189d5.zip cpython-d0802d07d2c864b95480a9b24c7cc050e19189d5.tar.gz cpython-d0802d07d2c864b95480a9b24c7cc050e19189d5.tar.bz2 | |
bpo-39012: Fix RC version suffix for nuget release files (GH-17564)
Diffstat (limited to 'PC/layout/support/constants.py')
| -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}" |
