ok

Mini Shell

Direktori : /proc/self/root/usr/lib/python2.7/site-packages/tuned/profiles/functions/
Upload File :
Current File : //proc/self/root/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_cpulist_pack.pyc

�
��\c@sdddlZddlZddlmZddlmZejj�Z	dej
fd��YZdS(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	<genexpr>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.pyt<module>s


Zerion Mini Shell 1.0