ustat: fix lambda syntax on python3.
authorRafael Fonseca <rdossant@redhat.com>
Fri, 10 Feb 2017 12:56:02 +0000 (13:56 +0100)
committerRafael Fonseca <rdossant@redhat.com>
Fri, 10 Feb 2017 12:56:02 +0000 (13:56 +0100)
commit573a5d4e3d84fe01a269c671da1f2ffd8a86de23
tree52cc3563f78ec1dd96d798ef1e9532f4c0ce4577
parent058c46faa90d3f1b58c7005a4deb8c0b91217b03
ustat: fix lambda syntax on python3.

$ ./ustat
  File "./ustat", line 242
    counts = sorted(counts.items(), key=lambda (_, v):
                                               ^
SyntaxError: invalid syntax
tools/ustat.py