MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.126
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib/python2.7/site-packages/tuned/profiles/functions/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib/python2.7/site-packages/tuned/profiles/functions/repository.pyc
�
��\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
cCslt||j�st�tjd|�x<t|jj��D]%\}}||kr?|j|=q?q?WdS(Nsremoving function %s(t
isinstanceRtAssertionErrorRRtlistRtitems(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

MMCT - 2023