ó ±2öYc@s`ddlZddlZddlZddlmZejjƒZdej fd„ƒYZ dS(iÿÿÿÿN(tcommandstcpulist_invertcBs eZdZd„Zd„ZRS(sØ Inverts list of CPUs (makes its complement). For the complement it gets number of present CPUs from the /sys/devices/system/cpu/present, e.g. system with 4 CPUs (0-3), the inversion of list "0,2,3" will be "1" cCs t|j|ƒjddƒdS(NRi(tsupert __class__t__init__(tself((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyRscCsKt|j|ƒj|ƒsdSdjd„|jjdj|ƒƒDƒƒS(Nt,css|]}t|ƒVqdS(N(tstr(t.0tv((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pys ss,,(RRtexecutetNonetjoint_cmdR(Rtargs((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyR s(t__name__t __module__t__doc__RR (((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyRs ( tost tuned.logsttunedtbasettuned.utils.commandsRtlogstgettlogtFunctionR(((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyts