def to_python(self, value):
        if value and value in ':':
            return clean_ipv6_address(value,
                self.unpack_ipv4, self.error_messages['invalid'])
        return value
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/models/fields/__init__.py/GenericIPAddressField.to_python/swapped operands of `in`