1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-26 20:22:13 +01:00
Marcus Huewe 2d0c974296 Add cmp function to packagequery module
cmp(a, b) returns
-1 if a < b
 0 if a == 0
 1 if a > b

This is needed since python3 has no cmp function anymore.

All credits for this go to Marco Strigl <mstrigl@suse.com> (see
PR#483 [1]).

[1] https://github.com/openSUSE/osc/pull/483
2019-01-27 16:12:57 +01:00
..
2019-01-15 17:18:50 +01:00
2019-01-14 16:40:09 +01:00