whitespace fixes
This commit is contained in:
parent
e4ce38fa0b
commit
29fad0223d
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
# (c) 2015, Linus Unnebäck <linus@folkdatorn.se>
|
# (c) 2015, Linus Unnebäck <linus@folkdatorn.se>
|
||||||
#
|
#
|
||||||
# This file is part of Ansible
|
# This file is part of Ansible
|
||||||
|
@ -226,8 +226,8 @@ def append_param(rule, param, flag, is_list):
|
||||||
|
|
||||||
def append_comm(rule, param):
|
def append_comm(rule, param):
|
||||||
if param:
|
if param:
|
||||||
rule.extend(['-m'])
|
rule.extend(['-m'])
|
||||||
rule.extend(['comment'])
|
rule.extend(['comment'])
|
||||||
|
|
||||||
|
|
||||||
def construct_rule(params):
|
def construct_rule(params):
|
||||||
|
@ -295,7 +295,7 @@ def main():
|
||||||
source_port=dict(required=False, default=None, type='str'),
|
source_port=dict(required=False, default=None, type='str'),
|
||||||
destination_port=dict(required=False, default=None, type='str'),
|
destination_port=dict(required=False, default=None, type='str'),
|
||||||
to_ports=dict(required=False, default=None, type='str'),
|
to_ports=dict(required=False, default=None, type='str'),
|
||||||
comment=dict(required=False, default=None, type='str'),
|
comment=dict(required=False, default=None, type='str'),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
args = dict(
|
args = dict(
|
||||||
|
|
Loading…
Reference in a new issue