+1
−11
Loading
Instead of an if/else ladder which is quite complex, this patch
uses the fact that Python supports by-component tuple comparison
to simply compare two (major, minor, patch) tuples
Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>