ok
Direktori : /proc/self/root/usr/lib/python2.7/site-packages/tuned/profiles/functions/ |
Current File : //proc/self/root/usr/lib/python2.7/site-packages/tuned/profiles/functions/base.pyo |
� ��\c @ sQ d d l Z d d l Z d d l m Z e j j � Z d e f d � � YZ d S( i����N( t commandst Functionc B s5 e Z d Z d d � Z e d d � � Z d � Z RS( s Built-in function c C s+ | | _ | | _ | | _ t � | _ d S( N( t _namet _nargs_maxt _nargs_minR t _cmd( t selft namet nargs_maxt nargs_min( ( sA /usr/lib/python2.7/site-packages/tuned/profiles/functions/base.pyt __init__ s c C sV | d k s | d k r t St | � } | d k s@ | | k oU | d k pU | | k S( Ni ( t Nonet Falset len( t clst argsR R t la( ( sA /usr/lib/python2.7/site-packages/tuned/profiles/functions/base.pyt _check_args s c C s7 | j | | j | j � r t St j d | j � t S( Ns5 invalid number of arguments for builtin function '%s'( R R R t Truet logt errorR R ( R R ( ( sA /usr/lib/python2.7/site-packages/tuned/profiles/functions/base.pyt execute s N( t __name__t __module__t __doc__R R t classmethodR R ( ( ( sA /usr/lib/python2.7/site-packages/tuned/profiles/functions/base.pyR s ( t ost tuned.logst tunedt tuned.utils.commandsR t logst getR t objectR ( ( ( sA /usr/lib/python2.7/site-packages/tuned/profiles/functions/base.pyt <module> s