Skip to content

Commit

Permalink
bpo-38343: Fixes version handling for nuget packages (GH-16527)
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba authored Oct 1, 2019
1 parent 6314abc commit b9a8b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/layout/support/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

VER_MAJOR, VER_MINOR, VER_MICRO, VER_FIELD4 = struct.pack(">i", sys.hexversion)
VER_FIELD3 = VER_MICRO << 8 | VER_FIELD4
VER_NAME = {"alpha": "a", "beta": "b", "rc": "rc"}.get(
VER_NAME = {"alpha": "a", "beta": "b", "candidate": "rc"}.get(
sys.version_info.releaselevel, ""
)
VER_SERIAL = sys.version_info.serial if VER_NAME else ""
Expand Down

0 comments on commit b9a8b82

Please sign in to comment.