]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39012: Fix RC version suffix for nuget release files (GH-17564)
authorSteve Dower <steve.dower@python.org>
Tue, 10 Dec 2019 23:19:03 +0000 (15:19 -0800)
committerGitHub <noreply@github.com>
Tue, 10 Dec 2019 23:19:03 +0000 (15:19 -0800)
PC/layout/support/constants.py

index a8647631e9b4cd9144b2cc1e683cec6e49d897d3..6cf0fe1d34c4ac7be1e4a978af93e769a8995d07 100644 (file)
@@ -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}"