]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python3: do not change the size of a dict while iterating over it
authorCyril Roelandt <cyril@redhat.com>
Tue, 16 Jun 2015 13:38:13 +0000 (13:38 +0000)
committerCyril Roelandt <cyril@redhat.com>
Tue, 16 Jun 2015 13:55:06 +0000 (15:55 +0200)
commit4f46d2ae3a089f36512fae3bf49f155927095922
treed580bbb8c8eb3b1def98db87d0f3c8f4f49bce67
parent6fe424bfffb82fd90aa386b1fe689995b9a9da21
Python3: do not change the size of a dict while iterating over it

This does not work in Python3, so we have to store the items first.

Change-Id: I7d8641f980fe62d2900559433d5060a6281a97f8
Blueprint: neutron-python3
neutron/agent/linux/iptables_firewall.py
neutron/api/extensions.py
neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py