

def _autoregister(self, model, follow=None):
    'Registers a model with reversion, if required.'
    if (not follow.revision_manager.is_registered(model)):
        follow = (follow or [])
        for (parent_cls, field) in model._meta.concrete_model._meta.parents.items():
            follow.append(field.name)
            self._autoregister(parent_cls)
        self.revision_manager.register(model, follow=follow, format=self.reversion_format)

dataset/ETHPy150Open etianen/django-reversion/src/reversion/admin.py VersionAdmin._autoregister/VarMisuse@21/42 `self`->`follow`