def contribute_to_class(self, model, name):
        # TODO: Use weakref because of possible memory leak / circular reference.
        self.model = model
        setattr(model, name, ManagerDescriptor(self))
        if not getattr(model, '_default_manager', None) or model._default_manager.creation_counter < self.creation_counter:
            model._default_manager = self
        if model._meta.abstract or self._inherited:
            model._meta.abstract_managers.append((self.creation_counter, name,
                    self))
dataset/ETHPy150Open dcramer/django-compositepks/django/db/models/manager.py/Manager.contribute_to_class/swapped operands of `<`