support/scripts/pkg-stats: improvements in is_status_*() methods
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 7 Jan 2021 13:39:38 +0000 (14:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 31 Jan 2021 11:02:41 +0000 (12:02 +0100)
commit7f83ad74675161abeb7ad4a47d2a30a4f4f7510b
treeafb4de16c1f15098638eca0a5d401409b5c14721
parent92bb7938ab3b0f6004137739b01befc3a4aee189
support/scripts/pkg-stats: improvements in is_status_*() methods

Make is_status_ok() work when the given status name is not even listed
in the status dict. This will be necessary for following commits.

Introduced similar methods for the error and na status, which will be
used in following commits.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/scripts/pkg-stats