Commits

Ali Gholami Rudi  committed 9af297b

resources: __ne__ should be implemented

  • Participants
  • Parent commits cbc6e95

Comments (0)

Files changed (1)

File 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)