def validate_integer(value):
    try:
        int(value)
    except (__HOLE__, TypeError):
        raise ValidationError('')
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/core/validators.py/validate_integer