xrange not support in python3

Bug #1261984 reported by Wu Wenxiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Invalid
Undecided
Bertrand Lallau
oslo-incubator
Fix Released
Low
Wu Wenxiang

Bug Description

xrange() was not support in python3.
xrange() in for loop could be replaced by six.moves.range.

Changed in oslo:
assignee: nobody → Wu Wenxiang (wu-wenxiang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo-incubator (master)

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

Changed in oslo:
status: New → In Progress
Changed in oslo:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (master)

Reviewed: https://review.openstack.org/62794
Committed: https://git.openstack.org/cgit/openstack/oslo-incubator/commit/?id=f2115a0523d0babec1d517c4905f875e90e261f5
Submitter: Jenkins
Branch: master

commit f2115a0523d0babec1d517c4905f875e90e261f5
Author: Wu Wenxiang <wu.wenxiang@99cloud.net>
Date: Wed Dec 18 07:04:59 2013 +0800

    Replace xrange in for loop with range

    xrange is not supported in python 3, so replace it with six.moves.range

    Change-Id: I9356d176d2c848880fbc6e94509b4fee91a68481
    Closes-Bug: #1261984

Changed in oslo:
status: In Progress → Fix Committed
Changed in oslo:
milestone: none → icehouse-2
Thierry Carrez (ttx)
Changed in oslo:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in oslo:
milestone: icehouse-2 → 2014.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

Changed in magnum:
assignee: nobody → Bertrand Lallau (bertrand-lallau)
status: New → In Progress
Changed in magnum:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Tom Cammann (<email address hidden>) on branch: master
Review: https://review.openstack.org/240485
Reason: As per comments

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.