Commits

Anonymous committed 9af297b

resources: __ne__ should be implemented

Comments (0)

Files changed (1)

rope/base/resources.py

     def __eq__(self, obj):
         return self.__class__ == obj.__class__ and self.path == obj.path
 
+    def __ne__(self, obj):
+        return not self.__eq__(obj)
+
     def __hash__(self):
         return hash(self.path)