def validate(self, value):
        try:
            return int(value)
        except (ValueError, __HOLE__):
            raise ValidationError(_('Not an integer'))
dataset/ETHPy150Open fiam/wapi/validators.py/IntegerValidator.validate