Fix subunit describe calls for py3
iteritems does not exists in python3, and it's actually enough to iterate over keys. Change-Id: I1a614942e25af26fedc720e5ebf8f800e0c54138
This commit is contained in:
parent
18026ce378
commit
e6a375e6e6
|
@ -294,7 +294,8 @@ def output(url_parser, output_file):
|
|||
outfile.write(json.dumps(url_parser.test_logs))
|
||||
return
|
||||
|
||||
for test_name, items in url_parser.test_logs.iteritems():
|
||||
for test_name in url_parser.test_logs:
|
||||
items = url_parser.test_logs[test_name]
|
||||
sys.stdout.write('{0}\n'.format(test_name))
|
||||
if not items:
|
||||
sys.stdout.write('\n')
|
||||
|
|
Loading…
Reference in New Issue