fixed minor py3 compliance issue in ec2_vpn_nacl (#24758)

wrapped a dict.items() with list
pull/24852/head
glassresistor 7 years ago committed by Sloane Hertel
parent 7563d93901
commit 4a718645e8

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

Loading…
Cancel
Save