def __cmp__(self, other):
        if isinstance(other,SessionId):
            return cmp(self.id,other.id)
        else:
            try:
                return cmp(hash(self.id),hash(other))
            except __HOLE__:
                return 1
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/voodoo/sessions/session_id.py/SessionId.__cmp__