Comment 5 for bug 1596127

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-stats (master)

Submitter: Jenkins
Branch: master

commit a3102f6fc61934f61c2a8a7a85024a0a2613f272
Author: Ji-Wei <email address hidden>
Date: Fri Jul 1 11:10:46 2016 +0800

    Make xrange py3 compatible

    In py3 ,
    Xrange is renamed to range,
    so it needs to be modified to make it compatible.
    the code:
    print (xrange(5))
    Traceback (most recent call last):
      File "code", line 4, in <module>
        print (xrange(5))
    NameError: name 'xrange' is not defined.

    Change-Id: I3a0e22876c35ced5c961c092fcda25db33d1c599
    Closes-Bug: #1596127