def validate(self, value, required=True):
        value = super(ListProperty, self).validate(value, required=required)
        if value and value is not None:
            if not isinstance(value, list):
                raise BadValueError(self.name % 'Property %s must be a list')
            value = self.validate_list_contents(value)
        return value
dataset/ETHPy150Open benoitc/couchdbkit/couchdbkit/schema/properties.py/ListProperty.validate/swapped operands of `%`