Commit f6e8ddfd by Toshio Kuratomi

Use pass instead of bare None value

parent 624a8dd1
......@@ -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()")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment