Exemplo n.º 1
0
 def __cmp__(self, other):
     if self.behavior != other.behavior:
         return 1
     else:
         return utils.cmp_string(self.key, other.key)
Exemplo n.º 2
0
 def __cmp__(self, other):
     return utils.cmp_string(self.name, other.name)
Exemplo n.º 3
0
 def __cmp__(self, other):
     return utils.cmp_string(self.script.str_relative(), other.script.str_relative())
Exemplo n.º 4
0
 def __cmp__(self, other):
     if self.behavior != other.behavior :
         return -1
     else:
         return utils.cmp_string(self.key, other.key)
Exemplo n.º 5
0
 def __cmp__(self, other):
     return utils.cmp_string(self.name, other.name)