Пример #1
0
Файл: model.py Проект: xigt/xigt
 def __eq__(self, other):
     try:
         return (
             self.text == other.text
             and XigtAttributeMixin.__eq__(self, other)
         )
     except AttributeError:
         return False
Пример #2
0
 def __eq__(self, other):
     try:
         return (
             self.name == other.name
             and self.text == other.text
             and XigtContainerMixin.__eq__(self, other)
             and XigtAttributeMixin.__eq__(self, other)
         )
     except AttributeError:
         return False
Пример #3
0
Файл: model.py Проект: xigt/xigt
 def __eq__(self, other):
     return (
         XigtMetadataMixin.__eq__(self, other)
         and XigtContainerMixin.__eq__(self, other)
         and XigtAttributeMixin.__eq__(self, other)
     )
Пример #4
0
 def __eq__(self, other):
     return XigtContainerMixin.__eq__(self, other) and XigtAttributeMixin.__eq__(self, other)