]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python 3: do not index dict_keys objects
authorCyril Roelandt <cyril@redhat.com>
Wed, 1 Jul 2015 22:29:12 +0000 (22:29 +0000)
committerAssaf Muller <amuller@redhat.com>
Sat, 4 Jul 2015 21:22:35 +0000 (17:22 -0400)
commita76090161fba69329389d4b8e3389f4797293ba9
treece4bcaf5f31f20e57736f25bb4650ac4758c7150
parentf3fe4c22f5d107d16dacbec15e8002cac5f5a0c2
Python 3: do not index dict_keys objects

This cannot be done in Python 3, where dict.keys() returns an iterator. We need
to cast the result of dict.keys() to a list first.

Change-Id: I28986aefb720b4513e3eee9ba0909f79d1dc9695
Blueprint: neutron-python3
neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py
neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py
tox.ini