This worked in python2 but not python3 as the way object can be sorted changed between both versions. This commit fixes this and add a test which should now pass on both py2 and py3.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
:thumbsup:
rebased onto 0d9dae1c01b329021c2d03735fec62fd8ecfbde1
Jenkins passed :)
Pull-Request has been merged by pingou
This worked in python2 but not python3 as the way object can be sorted
changed between both versions.
This commit fixes this and add a test which should now pass on both
py2 and py3.
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr