def validate_value(self, value):
        validator = getattr(self, self.type % '_validate_%s')
        validator(value)

    # Validators
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/catalogue/abstract_models.py/AbstractProductAttribute.validate_value/swapped operands of `%`