ok

Mini Shell

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

�
��\c@stddlZddlZddlmZddlmZddlmZej	j
�Zdejfd��YZ
dS(i����Ni(tbase(tcommands(tInvalidProfileExceptiont	assertioncBs eZdZd�Zd�ZRS(s�
	Assertion: compares argument 2 with argument 3. If they don't match
	it logs text from argument 1 and  throws InvalidProfileException. This
	exception will abort profile loading.
	cCstt|�jdd�dS(NRi(tsuperRt__init__(tself((sO/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion.pyRscCsqtt|�j|�sdS|d|dkrmtjd|d|d|df�td|d��ndS(Niis#assertion '%s' failed: '%s' != '%s'isAssertion '%s' failed.(RRtexecutetNonetlogterrorR(Rtargs((sO/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion.pyRs&(t__name__t
__module__t__doc__RR(((sO/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion.pyR	s	(tost
tuned.logsttunedtRttuned.utils.commandsRttuned.profiles.exceptionsRtlogstgetR	tFunctionR(((sO/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion.pyt<module>s

Zerion Mini Shell 1.0