Merge "Fix bug:xrange() issue with py3.x"

This commit is contained in:
Jenkins
2016-01-27 07:15:20 +00:00
committed by Gerrit Code Review

View File

@@ -74,7 +74,7 @@ def run(args):
args.num_replicas,
args.min_part_hours])
for i in xrange(len(hosts)):
for i in range(len(hosts)):
run_cmd(['swift-ring-builder',
args.ring_file,
'add',