Fixed Version less than comparison

pull/273/head
Holger Müller 2020-07-24 21:09:52 +02:00
rodzic 0ba80d092e
commit f05a2c40a5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -187,7 +187,7 @@ class Version:
return False
def __lt__(self, other: "Version") -> bool:
return other < self
return other > self
def __ge__(self, other: "Version") -> bool:
return self > other or self == other