Merge "Fix bug:xrange() issue with py3.x"
This commit is contained in:
commit
c6d01ea39c
@ -74,7 +74,7 @@ def run(args):
|
|||||||
args.num_replicas,
|
args.num_replicas,
|
||||||
args.min_part_hours])
|
args.min_part_hours])
|
||||||
|
|
||||||
for i in xrange(len(hosts)):
|
for i in range(len(hosts)):
|
||||||
run_cmd(['swift-ring-builder',
|
run_cmd(['swift-ring-builder',
|
||||||
args.ring_file,
|
args.ring_file,
|
||||||
'add',
|
'add',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user