1. CJ Gaconnet
  2. rope

Commits

Ali Gholami Rudi  committed 9af297b

resources: __ne__ should be implemented

  • Participants
  • Parent commits cbc6e95
  • Branches trunk

Comments (0)

Files changed (1)

File rope/base/resources.py

View file
     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)