We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 749e06b commit 15874c4Copy full SHA for 15874c4
osv/third_party/univers/alpine.py
@@ -196,3 +196,13 @@ def __gt__(self, other):
196
if gentoo_vercmp == 0:
197
return self.value[1] > other.value[1]
198
return gentoo_vercmp > 0
199
+
200
+ def __le__(self, other):
201
+ if not isinstance(other, self.__class__):
202
+ return NotImplemented
203
+ return not self.__gt__(other)
204
205
+ def __ge__(self, other):
206
207
208
+ return not self.__lt__(other)
0 commit comments