]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Python 3: use next() instead of iterator.next()
authorCyril Roelandt <cyril@redhat.com>
Mon, 8 Jun 2015 16:09:49 +0000 (16:09 +0000)
committerCyril Roelandt <cyril@redhat.com>
Tue, 9 Jun 2015 18:26:09 +0000 (20:26 +0200)
commit303f37f4e0c84f90e40b95731a828fc6ce8a0bbf
treef828e9a46f9d35a079fb03116b7761e3bfd25452
parente601f26755f1985aa0c66d2553829d30f3bec8f1
Python 3: use next() instead of iterator.next()

The latter only works in Python 2.

Also define a __next__ method in the classes that define a next method.

Change-Id: Iaa1a1e500facab50d8bcdffda39ccad3f2e4e9bb
Blueprint: neutron-python3
neutron/agent/linux/ip_lib.py
neutron/db/model_base.py
neutron/ipam/subnet_alloc.py
neutron/plugins/ml2/drivers/type_tunnel.py
neutron/tests/tempest/common/glance_http.py
neutron/tests/unit/agent/l3/test_agent.py
tox.ini