bin/pick: fix issue where None for nomination_type could fail
authorDylan Baker <dylan.c.baker@intel.com>
Thu, 20 Apr 2023 18:22:42 +0000 (11:22 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 15 Jun 2023 22:37:31 +0000 (22:37 +0000)
commitdd760f88461095c43a1c3c746b088fb464d837c3
tree37cba153f87110c500057b384725a780b896fe4e
parent3f48d842960c6d7e3814b75c611c69209098a0b6
bin/pick: fix issue where None for nomination_type could fail

We have an assumption it's never None, so use a special value in the
Enum instead.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23472>
bin/pick/core.py