'Things for compatibility.'

def __compat_things(self):

    if (not self.id_ind):
        return
    if (self.id_ind.entry_line_format[4:6] == '4s'):
        warnings.warn('Your    database    is    using    old    rev    mechanizm    for    ID    index.    You    should    update    that    index    (CodernityDB.migrate.migrate).')
        from misc import random_hex_4
        self.create_new_rev = random_hex_4
