ó æ ”\c@sdddlZddlZddlmZddlmZejjƒZ dej fd„ƒYZ dS(iÿÿÿÿNi(tbase(tcommandst cpulist_packcBs eZdZd„Zd„ZRS(sÊ Conversion function: packs CPU list in form 1,2,3,5 to 1-3,5. The cpulist_unpack is used as a preprocessor, so it always returns optimal results. For details about input syntax see cpulist_unpack. cCstt|ƒjddƒdS(NRi(tsuperRt__init__(tself((sR/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_pack.pyRscCsHtt|ƒj|ƒsdSdjd„|jjdj|ƒƒDƒƒS(Nt,css|]}t|ƒVqdS(N(tstr(t.0tv((sR/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_pack.pys ss,,(RRtexecutetNonetjoint_cmd(Rtargs((sR/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_pack.pyR s(t__name__t __module__t__doc__RR (((sR/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_pack.pyRs ( tost tuned.logsttunedtRttuned.utils.commandsRtlogstgettlogtFunctionR(((sR/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_pack.pyts