Example #1
0
 def __eq__(self, other):
     try:
         return (
             self.text == other.text
             and XigtContainerMixin.__eq__(self, other)
             and XigtAttributeMixin.__eq__(self, other)
         )
     except AttributeError:
         return False
Example #2
0
File: model.py Project: xigt/xigt
 def __eq__(self, other):
     return (
         XigtMetadataMixin.__eq__(self, other)
         and XigtContainerMixin.__eq__(self, other)
         and XigtAttributeMixin.__eq__(self, other)
     )
Example #3
0
 def __eq__(self, other):
     return XigtContainerMixin.__eq__(self, other) and XigtAttributeMixin.__eq__(self, other)