コード例 #1
0
ファイル: rftree.py プロジェクト: BackupTheBerlios/pytestemb
 def __cmp__(self, other):
     if self.behavior != other.behavior:
         return 1
     else:
         return utils.cmp_string(self.key, other.key)
コード例 #2
0
ファイル: project.py プロジェクト: BackupTheBerlios/pytestemb
 def __cmp__(self, other):
     return utils.cmp_string(self.name, other.name)
コード例 #3
0
 def __cmp__(self, other):
     return utils.cmp_string(self.script.str_relative(), other.script.str_relative())
コード例 #4
0
ファイル: rftree.py プロジェクト: BackupTheBerlios/pytestemb
 def __cmp__(self, other):
     if self.behavior != other.behavior :
         return -1
     else:
         return utils.cmp_string(self.key, other.key)
コード例 #5
0
ファイル: project.py プロジェクト: BackupTheBerlios/pytestemb
 def __cmp__(self, other):
     return utils.cmp_string(self.name, other.name)