Mercurial > hg > truffle
changeset 15462:05d3f069cff2
fixed pylint warning
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 02 May 2014 00:17:40 +0200 |
parents | f73fc9309f12 |
children | a20be10ad437 |
files | mxtool/mx.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mxtool/mx.py Thu May 01 23:55:22 2014 +0200 +++ b/mxtool/mx.py Fri May 02 00:17:40 2014 +0200 @@ -2129,7 +2129,7 @@ def sortWorklist(tasks): for t in tasks: t._d = None - return sorted(tasks, lambda x, y : remainingDepsDepth(x) - remainingDepsDepth(y)) + return sorted(tasks, lambda x, y: remainingDepsDepth(x) - remainingDepsDepth(y)) import multiprocessing cpus = multiprocessing.cpu_count()