Use pass instead of bare None value

This commit is contained in:
Toshio Kuratomi 2015-02-01 17:07:36 -08:00
parent 624a8dd1d9
commit f6e8ddfd5f

View file

@ -416,7 +416,7 @@ def ipaddr(value, query = '', version = False, alias = 'ipaddr'):
iplist = netaddr.IPSet([netaddr.IPNetwork(query)])
query = 'cidr_lookup'
except:
None
pass
# This code checks if value maches the IP version the user wants, ie. if
# it's any version ("ipaddr()"), IPv4 ("ipv4()") or IPv6 ("ipv6()")