mirror of https://github.com/celery/kombu.git
Async: Timer: Removes __eq__ __ne__
This commit is contained in:
parent
07363f75b7
commit
5abff49d9f
|
@ -81,12 +81,6 @@ class Entry(object):
|
||||||
def __lt__(self, other):
|
def __lt__(self, other):
|
||||||
return id(self) < id(other)
|
return id(self) < id(other)
|
||||||
|
|
||||||
def __eq__(self, other):
|
|
||||||
return hash(self) == hash(other)
|
|
||||||
|
|
||||||
def __ne__(self, other):
|
|
||||||
return not self.__eq__(other)
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cancelled(self):
|
def cancelled(self):
|
||||||
return self.canceled
|
return self.canceled
|
||||||
|
|
Loading…
Reference in New Issue