diff options
author | Brian Coca <bcoca@ansible.com> | 2016-01-25 23:58:54 -0500 |
---|---|---|
committer | Brian Coca <bcoca@ansible.com> | 2016-01-25 23:58:54 -0500 |
commit | 98eeb689ced29cf9d872e4f01f3ed2912ac217f4 (patch) | |
tree | 68f2d846c792a52363d95c564b708046c8c45028 /system | |
parent | a7ad0bc7be5869401226a7f92b1384dce00a02ca (diff) | |
parent | 16d17d287f9b2e29ed7869dfc9f8674410c0a421 (diff) | |
download | ansible-modules-extras-98eeb689ced29cf9d872e4f01f3ed2912ac217f4.tar.gz |
Merge pull request #1514 from doalitic/iptables-fix-append_csv
iptables: fix param check in append_csv function
Diffstat (limited to 'system')
-rw-r--r-- | system/iptables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/iptables.py b/system/iptables.py index 2b71e1f9..4ed53b6e 100644 --- a/system/iptables.py +++ b/system/iptables.py @@ -238,7 +238,7 @@ def append_param(rule, param, flag, is_list): def append_csv(rule, param, flag): - if param is not None: + if param: rule.extend([flag, ','.join(param)]) |