ó æ ”\c@sdddlZddlZddlmZddlmZejjƒZ dej fd„ƒYZ dS(iÿÿÿÿNi(tbase(tcommandstcpulist_invertcBs eZdZd„Zd„ZRS(sÖ Inverts list of CPUs (makes its complement). For the complement it gets number of online CPUs from the /sys/devices/system/cpu/online, e.g. system with 4 CPUs (0-3), the inversion of list "0,2,3" will be "1" cCstt|ƒjddƒdS(NRi(tsuperRt__init__(tself((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyRscCsHtt|ƒ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_cmd(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.logsttunedtRttuned.utils.commandsRtlogstgettlogtFunctionR(((sT/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_invert.pyts