def _get_integer(value):
    try:
        return int(value)
    except (__HOLE__, ValueError):
        raise ValueError('{0} is not a valid integer'.format(value))
dataset/ETHPy150Open noirbizarre/flask-restplus/flask_restplus/inputs.py/_get_integer