Skip to content

Commit 4b25224

Browse files
committed
convert dictionary key iterator to list
1 parent a2b08d6 commit 4b25224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

output_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def output_results(invoke_list, test_params):
135135
# result hierarchy, not needed
136136

137137
if len(rslt['in-host'].keys()) == 1 and test_params.host_set == None:
138-
hostkey = rslt['in-host'].keys()[0]
138+
hostkey = list(rslt['in-host'].keys())[0]
139139
threads_in_host = rslt['in-host'][hostkey]['in-thread']
140140
rslt['in-thread'] = threads_in_host
141141
del rslt['in-host']

0 commit comments

Comments
 (0)