def __cmp__(self, other):
    assert isinstance(other, MessageMigrator)
    return cmp(self.migrate_version, other.migrate_version)
Migrators are compared to one another by "migrate_version", which
dataset/ETHPy150Open viewfinderco/viewfinder/backend/base/message.py/MessageMigrator.__cmp__