From deb1d1f9c359e0912f2f6ee6f139e4f8373bce30 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 30 Jul 2024 19:50:41 +0200 Subject: [PATCH] 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: --- bin/pick/core.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/pick/core.py b/bin/pick/core.py index cde058602c1..987f6621f6a 100644 --- a/bin/pick/core.py +++ b/bin/pick/core.py @@ -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