Spelling fixes (#11940)
This commit is contained in:
1 parent
94316f07a2
commit
55ee8959ba
80 files changed
+110
-110
No files matched your search
@@ -112,13 +112,13 @@ class ApnsDevice(object):
|
||||
self.device_disabled = True
|
||||
|
||||
def __eq__(self, other):
|
||||
"""Return the comparision."""
|
||||
"""Return the comparison."""
|
||||
if isinstance(other, self.__class__):
|
||||
return self.push_id == other.push_id and self.name == other.name
|
||||
return NotImplemented
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Return the comparision."""
|
||||
"""Return the comparison."""
|
||||
return not self.__eq__(other)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user