MINI MINI MANI MO

Path : /usr/lib/python2.7/site-packages/tuned/utils/
File Upload :
Current File : //usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.pyc

ó
©=[c@s>ddlZdgZejjƒZdefd„ƒYZdS(iÿÿÿÿNtPluginLoadercBs;eZdddgZd„Zd„Zd„Zd„ZRS(t
_namespacet_prefixt
_interfacecCs
tƒ‚dS(s~
		This method has to be implemented in child class and should
		set _namespace, _prefix, and _interface member attributes.
		N(tNotImplementedError(tself((s=/usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.pyt_set_loader_parameters
scCsŸtt|ƒjƒd|_d|_d|_|jƒt|jƒt	ksSt
‚t|jƒt	ksnt
‚t|jƒtkr•t|jtƒs›t
‚dS(N(
tsuperRt__init__tNoneRRRRttypetstrtAssertionErrort
issubclasstobject(R((s=/usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.pyRs			
cCs>t|ƒtkst‚d|j|j|f}|j|ƒS(Ns%s.%s%s(R
RRRRt
_get_class(Rtplugin_nametmodule_name((s=/usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.pytload_pluginscCsÅtjd|ƒt|ƒ}|jdƒ}|jdƒx.t|ƒdkrit||jdƒƒ}q<WxH|jD]=}t||ƒ}t|ƒtkrtt	||j
ƒrt|SqtWtdƒ‚dS(Nsloading module %st.isCannot find the plugin class.(tlogtdebugt
__import__tsplittpoptlentgetattrt__dict__R
R
RtImportError(RRtmoduletpathtnametcls((s=/usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.pyR!s
$(t__name__t
__module__t	__slots__RRRR(((s=/usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.pyRs
			(t
tuned.logsttunedt__all__tlogstgetRRR(((s=/usr/lib/python2.7/site-packages/tuned/utils/plugin_loader.pyt<module>s	

OHA YOOOO