__eq__ must be paired with __ne__ for sanity.

This commit is contained in:
Neil Williams
2011-06-05 22:14:23 -07:00
parent b14ab0d422
commit 46aad179b2

View File

@@ -592,6 +592,10 @@ class Subreddit(Thing, Printable):
return self._id == other._id
def __ne__(self, other):
return not self.__eq__(other)
class FakeSubreddit(Subreddit):
over_18 = False
_nodb = True