MINI MINI MANI MO
ó
©=[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 assertion_non_equalc B s e Z d Z d „ Z d „ Z RS( sº
Assertion non equal: compares argument 2 with argument 3. If they 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( ( sY /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion_non_equal.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( ( sY /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion_non_equal.pyR s &( t __name__t
__module__t __doc__R R ( ( ( sY /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion_non_equal.pyR s ( t ost
tuned.logst tunedt R t tuned.utils.commandsR t tuned.profiles.exceptionsR t logst getR t FunctionR ( ( ( sY /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_assertion_non_equal.pyt <module> s
OHA YOOOO