tests/bootloader-entries-crosscheck: Use Python 3-friendly sorting
authorSimon McVittie <smcv@debian.org>
Wed, 17 Jan 2018 15:19:12 +0000 (15:19 +0000)
committerSimon McVittie <smcv@debian.org>
Mon, 19 Feb 2018 09:01:47 +0000 (09:01 +0000)
commitc390a52ad9f818f2f56eca656c441311accc072c
tree92fc0504340414b595ffb35e5d50ab83f52bf87b
parent8b0fe8141345dd897f61f16f6257b1d5f71c5c05
tests/bootloader-entries-crosscheck: Use Python 3-friendly sorting

This is a little clearer than a strcmp()-style negative/zero/positive
return, and also works in Python 2.

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://github.com/ostreedev/ostree/pull/1457

Gbp-Pq: Name tests-bootloader-entries-crosscheck-Use-Python-3-friendly.patch
tests/bootloader-entries-crosscheck.py