1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixed minor py3 compliance issue in ec2_vpn_nacl (#24758)

wrapped a dict.items() with list
This commit is contained in:
glassresistor 2017-05-19 13:58:48 -07:00 committed by Sloane Hertel
parent 7563d93901
commit 4a718645e8

View file

@ -145,8 +145,8 @@ DEFAULT_RULE_FIELDS = {
'Protocol': '-1'
}
DEFAULT_INGRESS = dict(DEFAULT_RULE_FIELDS.items() + [('Egress', False)])
DEFAULT_EGRESS = dict(DEFAULT_RULE_FIELDS.items() + [('Egress', True)])
DEFAULT_INGRESS = dict(list(DEFAULT_RULE_FIELDS.items()) + [('Egress', False)])
DEFAULT_EGRESS = dict(list(DEFAULT_RULE_FIELDS.items()) + [('Egress', True)])
# VPC-supported IANA protocol numbers
# http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml