MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / __lt__

Method __lt__

src/bitmessageqt/foldertree.py:411–414  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

409
410 # label (or address) alphabetically, disabled at the end
411 def __lt__(self, other):
412 if (isinstance(other, MessageList_SubjectWidget)):
413 return self.label.lower() < other.label.lower()
414 return super(QtGui.QTableWidgetItem, self).__lt__(other)
415
416
417class Ui_AddressBookWidgetItem(QtGui.QTableWidgetItem, AccountMixin):

Callers

nothing calls this directly

Calls 1

__lt__Method · 0.45

Tested by

no test coverage detected