Replace xrange in for loop with range
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

malor/oslo.db,vikt0rs/oslo.db,akash1808/oslo.db,JioCloud/oslo.db,openstack/oslo.db,magic0704/oslo.db,openstack/oslo.db,varunarya10/oslo.db