]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python3: do not use '+' on dict_items objects
authorCyril Roelandt <cyril@redhat.com>
Fri, 19 Jun 2015 13:24:34 +0000 (13:24 +0000)
committerCyril Roelandt <cyril@redhat.com>
Fri, 19 Jun 2015 13:57:39 +0000 (15:57 +0200)
commit4f5171d2cedb32fdc5a59d241e7ae91c7284b75c
treef6c20b2547768b90333a419a18b5ad193953a9f4
parent4d35f1526504250cab5949414186947fadc2aade
Python3: do not use '+' on dict_items objects

In Python 3, dict.items() returns an iterator. Iterators cannot be added.

Blueprint: neutron-python3
Change-Id: I487178ebceae9946cb53dea1e847d7715f4577f3
neutron/extensions/securitygroup.py
neutron/tests/unit/agent/linux/test_iptables_firewall.py