next() is incompatible in test_network_ip_availability.py

Bug #1598527 reported by QunyingRan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
QunyingRan

Bug Description

In test_network_ip_availability.py:89 I think 'subnet_cidr = cidr.subnet(mask_bits).next()' should be 'subnet_cidr = next(cidr.subnet(mask_bits))'

Tags: py34
QunyingRan (ran-qunying)
Changed in neutron:
assignee: nobody → QunyingRan (ran-qunying)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by QunyingRan (<email address hidden>) on branch: master
Review: https://review.openstack.org/336900
Reason: local failed

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/336907

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Low
Henry Gessau (gessau)
tags: added: py34
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/336907
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b2de391b215482fb90ac89378a2af4d8a3e32204
Submitter: Jenkins
Branch: master

commit b2de391b215482fb90ac89378a2af4d8a3e32204
Author: QunyingRan <email address hidden>
Date: Sun Jul 3 17:49:14 2016 +0800

    next() is incompatible in test_network_ip_availability.py

    Replace iter.next() with next(iter)

    Change-Id: I43dfda97451d2893a5fca480b79f14da479c01df
    Closes-Bug: #1598527

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 9.0.0.0b2

This issue was fixed in the openstack/neutron 9.0.0.0b2 development milestone.

tags: added: neutron-proactive-backport-potential
tags: removed: neutron-proactive-backport-potential
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.