%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/duplicity/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/duplicity/__pycache__/robust.cpython-312.pyc

�

�2e�
��6�ddlZddlmZddlmZdZdd�Zd�Zy)�N)�librsync)�log�c��ddlm}	||�S#tttj
|jf$rV}t|t�r+t|d�r/tj|jdvr|r||g|���cYd}~S�Yd}~yd}~wwxYw)z�Apply function to args, if error, run error_handler on exception

    This only catches certain exceptions which seem innocent
    enough.

    r)�path�errno)�EPERM�ENOENT�EACCES�EBUSY�EEXIST�ENOTDIR�ENAMETOOLONG�EINTR�	ENOTEMPTY�EIO�ETXTBSY�ESRCH�EINVAL�
EOPNOTSUPPN)�	duplicityr�IOError�EnvironmentErrorr�
librsyncError�
PathException�
isinstance�hasattrr�	errorcode)�
error_handler�function�argsr�excs     �2/usr/lib/python3/dist-packages/duplicity/robust.py�check_common_errorr$s����&������	��������	� ��3� 0�1��s�G�$�����	�	�*���&�$�S�0�4�0�0�
�	��9 �s!�
�)B�AB�;B�B�Bc�P���fd�}tt|�j��}|S)z<Like path.listdir() but return [] if error, and sort resultsc�^��tjtd��jz�gS)NzError listing directory %s)r�Warn�_�uc_name)r"rs �r#rzlistpath.<locals>.error_handlerSs#�������/�0�4�<�<�?�@��	�)�sortedr$�listdir)rr�dir_listings`  r#�listpathr.Ps&�����+�M�4�<�<�H�I�K��r*)�)rrrr�tmp_file_indexr$r.r/r*r#�<module>r1s ��,
�����/�dr*

Zerion Mini Shell 1.0