]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python 3: do not index a dict_values object
authorCyril Roelandt <cyril.roelandt@enovance.com>
Tue, 19 May 2015 16:16:38 +0000 (16:16 +0000)
committerCyril Roelandt <cyril@redhat.com>
Thu, 4 Jun 2015 22:03:24 +0000 (00:03 +0200)
commit38eae7acb30de6f1f8dbb36855a5c913d9370fc5
treed0b3510fba55d08caefeaec591e02304daaa2620
parente95510f8d123e0428baa5d7b043d6542120d89f9
Python 3: do not index a dict_values object

In Python 3, dict.values() return a dict_values object instead of a list, as in
Python 2. This object cannot be indexed.

Change-Id: Ia4fdb4cafb1811c55dc8f14e303ab2db1b1110b3
Blueprint: neutron-python3
neutron/agent/ovsdb/impl_idl.py
neutron/agent/ovsdb/impl_vsctl.py
neutron/tests/unit/agent/test_securitygroups_rpc.py