%PDF- %PDF-
| Direktori : /proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/utils/decorators/ |
| Current File : //proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/utils/decorators/jinja.pyo |
�
���^c @@ s� d Z d d l m Z m Z m Z d d l j j Z e j e
� Z d e f d � � YZ e Z
d e f d � � YZ e Z d e f d � � YZ e Z d S(
u
Jinja-specific decorators
i ( t absolute_importt print_functiont unicode_literalsNt JinjaFilterc B@ s) e Z d Z i Z d d � Z d � Z RS( ub
This decorator is used to specify that a function is to be loaded as a
Jinja filter.
c C@ s
| | _ d S( u
N( t name( t selfR ( ( s? /usr/lib/python2.7/site-packages/salt/utils/decorators/jinja.pyt __init__ s c C@ sE | j p | j } | | j k rA t j d | � | | j | <n | S( u
u Marking '%s' as a jinja filter( R t __name__t salt_jinja_filterst logt debug( R t functionR ( ( s? /usr/lib/python2.7/site-packages/salt/utils/decorators/jinja.pyt __call__ s
N( R t
__module__t __doc__R t NoneR R ( ( ( s? /usr/lib/python2.7/site-packages/salt/utils/decorators/jinja.pyR s t JinjaTestc B@ s) e Z d Z i Z d d � Z d � Z RS( u`
This decorator is used to specify that a function is to be loaded as a
Jinja test.
c C@ s
| | _ d S( u
N( R ( R R ( ( s? /usr/lib/python2.7/site-packages/salt/utils/decorators/jinja.pyR . s c C@ sE | j p | j } | | j k rA t j d | � | | j | <n | S( u
u Marking '%s' as a jinja test( R R t salt_jinja_testsR R
( R R R ( ( s? /usr/lib/python2.7/site-packages/salt/utils/decorators/jinja.pyR 3 s
N( R R
R R R R R ( ( ( s? /usr/lib/python2.7/site-packages/salt/utils/decorators/jinja.pyR '