403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.224
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/lib/python3/dist-packages/breezy/bzr/smart/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/breezy/bzr/smart/__pycache__/signals.cpython-313.pyc
�

p��g���L�SrSSKrSSKrSSKJr SqSrSrSrSr	S	r
S
rg)z*Signal handling for the smart server code.�N�)�tracec�*�[cg[R"S5 [R5HnU"5nUb	U"5 MM g![a e[
a/ [R"S5 [R"5 M^f=f)z�This is the actual function that is registered for handling SIGHUP.

It will call out to all the registered functions, letting them know that a
graceful termination has been requested.
Nz2Caught SIGHUP, sending graceful shutdown requests.z-Error occurred while running SIGHUP handlers:)�
_on_sighupr�mutter�	valuerefs�KeyboardInterrupt�	Exception�log_exception_quietly)�
signal_number�interrupted_frame�ref�cbs    �:/usr/lib/python3/dist-packages/breezy/bzr/smart/signals.py�_sighup_handlerr"s}�����	�L�L�E�F��#�#�%��	*���B��~����&��
!�	���	*��L�L�H�I��'�'�)�	*�s�A�?B�Bc��[[SS5cSnO)[R"[R[5n[	5nX4$)z&Setup a handler for the SIGHUP signal.�SIGHUPN)�getattr�signalrr�_setup_on_hangup_dict)�
old_signal�old_dicts  r�install_sighup_handlerr7s=���v�x��&�.��
��]�]�6�=�=�/�B�
�$�&�H����c�<�[n[R"5qU$)z�Create something for _on_sighup.

This is done when we install the sighup handler, and for tests that want to
test the functionality. If this hasn'nt been called, then
register_on_hangup is a no-op. As is unregister_on_hangup.
)r�weakref�WeakValueDictionary)�olds rrrCs���C��,�,�.�J��Jrc�`�UupUb%[R"[RU5 Uqg)z@Pass in the returned value from install_sighup_handler to reset.N)rrr)�origrrs   r�restore_sighup_handlerr!Ps)�� ��J����
�
�f�m�m�Z�0��Jrc�&�[cgU[U'g)zBRegister for us to call a_callable as part of a graceful shutdown.N)r)�
identifier�
a_callables  r�register_on_hangupr%_s�����'�J�z�rc��[cg[U	g![a e[a. [R"S5 [R
"5 gf=f)z2Remove a callback from being called during sighup.Nz+Error occurred during unregister_on_hangup:)rr	r
rrr)r#s r�unregister_on_hangupr'fsM�����&��z�"����
��&�	���B�C�
�#�#�%�	&�s��?A�A)�__doc__rr�rrrrrr!r%r'�rr�<module>r+s8��"1�
����
�*�*	 �
��(�&r

Youez - 2016 - github.com/yon3zu
LinuXploit