fix style issues

This commit is contained in:
Wolfgang Hottgenroth 2019-09-10 16:34:45 +02:00
parent 94e60ee172
commit 0f007b058d
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -6,10 +6,15 @@ class MyPriorityQueueItem(object):
self.itemWithPriority = itemWithPriority
def __lt__(self, other): return self.itemWithPriority.priority < other.itemWithPriority.priority
def __le__(self, other): return self.itemWithPriority.priority <= other.itemWithPriority.priority
def __eq__(self, other): return self.itemWithPriority.priority == other.itemWithPriority.priority
def __ne__(self, other): return self.itemWithPriority.priority != other.itemWithPriority.priority
def __gt__(self, other): return self.itemWithPriority.priority > other.itemWithPriority.priority
def __ge__(self, other): return self.itemWithPriority.priority >= other.itemWithPriority.priority