Merge pull request #811 from niphlod/update/ipaddr

updated ipaddr to the latest version
This commit is contained in:
mdipierro committed 2015-02-24 09:26:21 -06:00
commit dbd5bf0be6
2 files changed
+252 -399

No files matched your search

+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))