projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[lit] Remove use of deprecated parameter tuple unpacking.
[oota-llvm.git]
/
utils
/
lit
/
lit
/
Util.py
diff --git
a/utils/lit/lit/Util.py
b/utils/lit/lit/Util.py
index 298fbd5c5fc855e1f2dbd9da1a6a62d7ee230ec9..59e912900f6137c8397ea5b1cdfd2b9492b6cfc8 100644
(file)
--- a/
utils/lit/lit/Util.py
+++ b/
utils/lit/lit/Util.py
@@
-95,7
+95,7
@@
def whichTools(tools, paths):
def printHistogram(items, title = 'Items'):
import itertools, math
- items.sort(key = lambda
(_,v): v
)
+ items.sort(key = lambda
item: item[1]
)
maxValue = max([v for _,v in items])