ok

Mini Shell

Direktori : /lib/python2.7/site-packages/tuned/profiles/functions/
Upload File :
Current File : //lib/python2.7/site-packages/tuned/profiles/functions/repository.pyo

�
��\c@stddlmZddlmZddlZddljZddlm	Z	ej
j�Zdefd��YZ
dS(i����(tPluginLoaderi(tbaseN(tcommandst
RepositorycBsDeZd�Zed��Zd�Zd�Zd�Zd�ZRS(cCs tt|�j�i|_dS(N(tsuperRt__init__t
_functions(tself((sG/usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pyRscCs|jS(N(R(R((sG/usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pyt	functionsscCs.d|_tj|_tjjjj|_	dS(Nstuned.profiles.functions(
t
_namespacetconststFUNCTION_PREFIXt_prefixttunedtprofilesRRtFunctiont
_interface(R((sG/usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pyt_set_loader_parameterss	cCs:tjd|�|j|�}|�}||j|<|S(Nscreating function %s(tlogtdebugtload_pluginR(Rt
function_nametfunction_clstfunction_instance((sG/usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pytcreates
	
cCs'||jkr|j|�S|j|S(N(RR(RR((sG/usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pyt	load_func!s
cCsTtjd|�x<t|jj��D]%\}}||kr'|j|=q'q'WdS(Nsremoving function %s(RRtlistRtitems(Rtfunctiontktv((sG/usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pytdelete&s"(	t__name__t
__module__RtpropertyRRRRR(((sG/usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pyR	s					(ttuned.utils.plugin_loaderRtRt
tuned.logsR
ttuned.constsR
ttuned.utils.commandsRtlogstgetRR(((sG/usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pyt<module>s

Zerion Mini Shell 1.0