HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //proc/self/root/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