[llvm] r187932 - [lit] Explicitly convert dict items() result to a list.
Daniel Dunbar
daniel at zuster.org
Wed Aug 7 16:10:01 PDT 2013
Author: ddunbar
Date: Wed Aug 7 18:10:01 2013
New Revision: 187932
URL: http://llvm.org/viewvc/llvm-project?rev=187932&view=rev
Log:
[lit] Explicitly convert dict items() result to a list.
Modified:
llvm/trunk/utils/lit/lit/main.py
Modified: llvm/trunk/utils/lit/lit/main.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/main.py?rev=187932&r1=187931&r2=187932&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/main.py (original)
+++ llvm/trunk/utils/lit/lit/main.py Wed Aug 7 18:10:01 2013
@@ -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.
More information about the llvm-commits
mailing list