Mercurial > hg > graal-compiler
diff mxtool/mx.py @ 15462:05d3f069cff2
fixed pylint warning
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 02 May 2014 00:17:40 +0200 |
parents | 7d24ff89dc7d |
children | d0e3f6963ed7 |
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()