# HG changeset patch # User Doug Simon # Date 1398982660 -7200 # Node ID 05d3f069cff2df3723e2fcb5eef3950f93f3873b # Parent f73fc9309f122eb12161a1dea7622fb6267809a4 fixed pylint warning diff -r f73fc9309f12 -r 05d3f069cff2 mxtool/mx.py --- 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()