pick-ui: move NominationType values around so that None is 0

This keeps tripping me up when reading the `.pick_status.json`, so let's
change it around so that starting in the next release cycle, `NONE = 0`.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30427>
This commit is contained in:
Eric Engestrom
2024-07-30 19:50:41 +02:00
committed by Marge Bot
parent 057b77d2a3
commit deb1d1f9c3

View File

@@ -71,10 +71,10 @@ class PickUIException(Exception):
@enum.unique
class NominationType(enum.Enum):
CC = 0
FIXES = 1
REVERT = 2
NONE = 3
NONE = 0
CC = 1
FIXES = 2
REVERT = 3
BACKPORT = 4