##// END OF EJS Templates
implement __ne__
marcink -
r3713:e45f8cef beta
parent child Browse files
Show More
@@ -84,6 +84,9 b' class BaseRepository(object):'
84 same_instance = isinstance(other, self.__class__)
84 same_instance = isinstance(other, self.__class__)
85 return same_instance and getattr(other, 'path', None) == self.path
85 return same_instance and getattr(other, 'path', None) == self.path
86
86
87 def __ne__(self, other):
88 return not self.__eq__(other)
89
87 @LazyProperty
90 @LazyProperty
88 def alias(self):
91 def alias(self):
89 for k, v in settings.BACKENDS.items():
92 for k, v in settings.BACKENDS.items():
General Comments 0
You need to be logged in to leave comments. Login now