Commits

Anonymous committed efdc5f1

importinfo: __ne__ should be implemented

  • Participants
  • Parent commits 6ed5486

Comments (0)

Files changed (1)

rope/refactor/importutils/importinfo.py

         return isinstance(obj, self.__class__) and \
                self.get_import_statement() == obj.get_import_statement()
 
+    def __ne__(self, obj):
+        return not self.__eq__(obj)
+
     @staticmethod
     def get_empty_import():
         return EmptyImport()