MOON
Server: Apache
System: Linux server2.shieldcogroup.com 3.10.0-1160.119.1.el7.tuxcare.els12.x86_64 #1 SMP Fri Nov 8 05:49:38 UTC 2024 x86_64
User: jacom (1029)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
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