Exemplo n.º 1
0
Arquivo: model.py Projeto: xigt/xigt
 def __eq__(self, other):
     try:
         return (
             self.text == other.text
             and XigtAttributeMixin.__eq__(self, other)
         )
     except AttributeError:
         return False
Exemplo n.º 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
Exemplo n.º 3
0
Arquivo: model.py Projeto: xigt/xigt
 def __eq__(self, other):
     return (
         XigtMetadataMixin.__eq__(self, other)
         and XigtContainerMixin.__eq__(self, other)
         and XigtAttributeMixin.__eq__(self, other)
     )
Exemplo n.º 4
0
 def __eq__(self, other):
     return XigtContainerMixin.__eq__(self, other) and XigtAttributeMixin.__eq__(self, other)