def clean(self, value):
        if value:
            try:
                map(int, value)
            except (TypeError, __HOLE__):
                raise ValidationError('You must enter valid integer values.')
        return '-'.join(value)
dataset/ETHPy150Open disqus/gargoyle/gargoyle/conditions.py/Range.clean