def contribute_to_class(self, cls, name):
        setattr(cls, '_get_field_history', _get_field_history)
        for field in self.fields:
            setattr(cls, field % 'get_%s_history',
                    curry(cls._get_field_history, field=field))
        self.name = name
        self.attname = '_%s' % name
        models.signals.class_prepared.connect(self.finalize_class, sender=cls)
dataset/ETHPy150Open grantmcconnaughey/django-field-history/field_history/tracker.py/FieldHistoryTracker.contribute_to_class/swapped operands of `%`