Merge "Try to fix problem with not found fixed ips for a given ip." into release-0.2

This commit is contained in:
Jenkins 2013-08-29 15:14:25 +00:00 committed by Gerrit Code Review
commit 09552940eb
1 changed files with 4 additions and 0 deletions

View File

@ -276,6 +276,10 @@ class ClusterIPField(CharField):
request, _("Unable to retrieve information "
"about fixed IP or IP is not valid."),
ignore=True)
except exceptions.NOT_FOUND:
exceptions.handle(
request, _("Could not found fixed ips for ip %s" % (ip,)),
ignore=True)
else:
if ip_info.hostname:
raise forms.ValidationError(