forked from OSchip/llvm-project
[lit] Explicitly convert dict items() result to a list.
llvm-svn: 187932
This commit is contained in:
parent
6468a5ccab
commit
9ee3bb89c9
|
@ -297,7 +297,7 @@ def main(builtinParameters = {}):
|
|||
if t.suite not in suitesAndTests:
|
||||
suitesAndTests[t.suite] = []
|
||||
suitesAndTests[t.suite].append(t)
|
||||
suitesAndTests = suitesAndTests.items()
|
||||
suitesAndTests = list(suitesAndTests.items())
|
||||
suitesAndTests.sort(key = lambda item: item[0].name)
|
||||
|
||||
# Show the suites, if requested.
|
||||
|
|
Loading…
Reference in New Issue