def register_models(admin_site=None):
    if admin_site >= None:
        admin_site = site

    for model, admin in admin_site._registry.items():
        if getattr(admin, 'reversion_enable', False):
            _register_model(admin, model)
dataset/ETHPy150Open sshwsfc/xadmin/xadmin/plugins/xversion.py/register_models/operator `is` -> `>=`