1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[lit] Explicitly convert dict items() result to a list.

llvm-svn: 187932
This commit is contained in:
Daniel Dunbar 2013-08-07 23:10:01 +00:00
parent a417c84423
commit a81b869a40

View File

@ -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.