Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /lib/python2.7/site-packages/tuned/profiles/functions/ |
Upload File : |
� ��\c @ st d d l Z d d l Z d d l m Z d d l m Z d d l m Z e j j � Z d e j f d � � YZ d S( i����Ni ( t base( t commands( t InvalidProfileExceptiont assertionc B s e Z d Z d � Z d � Z RS( 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. c C s t t | � j d d � d S( NR i ( t superR t __init__( t self( ( sO /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion.pyR s c C sq t t | � j | � s d S| d | d k rm t j d | d | d | d f � t d | d � � n d S( Ni i s# assertion '%s' failed: '%s' != '%s'i s Assertion '%s' failed.( R R t executet Nonet logt errorR ( R t args( ( sO /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion.pyR s &( t __name__t __module__t __doc__R R ( ( ( sO /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion.pyR s ( t ost tuned.logst tunedt R t tuned.utils.commandsR t tuned.profiles.exceptionsR t logst getR t FunctionR ( ( ( sO /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion.pyt <module> s