Merge pull request #811 from niphlod/update/ipaddr

updated ipaddr to the latest version
This commit is contained in:
mdipierro
2015-02-24 09:26:21 -06:00
2 changed files with 252 additions and 399 deletions
+251 -398
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -3808,7 +3808,7 @@ class IS_IPADDRESS(Validator):
from gluon.contrib import ipaddr as ipaddress
try:
ip = ipaddress.ip_address(value)
ip = ipaddress.IPAddress(value)
except ValueError, e:
return (value, translate(self.error_message))