MCPcopy Index your code
hub / github.com/aboutcode-org/vulnerablecode / __lt__

Method __lt__

vulnerabilities/lib_oval.py:769–773  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

767 return True
768
769 def __lt__(self, other):
770 try:
771 return int(self.element.get("version")) < int(other.element.get("version"))
772 except:
773 return NotImplemented
774
775 def incrementVersion(self):
776 version = self.getVersion()

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected