diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-02-01 17:07:36 -0800 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-02-01 17:07:36 -0800 |
commit | c4e7ce2db7b292e82014cafd0a8ad02f58e26803 (patch) | |
tree | 8c02ed8a1acd5015b35cd2adf56e89b4d8474ca2 | |
parent | 54f1e4b9d180365a2a9a50a613fb33d2989bd94b (diff) | |
download | ansible-pr-9560.tar.gz |
Use pass instead of bare None valuepr-9560
-rw-r--r-- | lib/ansible/runner/filter_plugins/ipaddr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/runner/filter_plugins/ipaddr.py b/lib/ansible/runner/filter_plugins/ipaddr.py index bf8398fc79..285d236058 100644 --- a/lib/ansible/runner/filter_plugins/ipaddr.py +++ b/lib/ansible/runner/filter_plugins/ipaddr.py @@ -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()") |