https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/duplicity/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/duplicity/__pycache__/robust.cpython-310.pyc
o

�~�_�	�@s:ddlZddlmZddlmZdZd
dd�Zdd	�ZdS)�N)�librsync)�log��cCs�ddlm}z||�WStttj|jfyH}z+t|t�r+t|d�r<t	j
|j	dvr<|r;||g|�R�WYd}~Sn�WYd}~dSd}~ww)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�EINVALN)�	duplicityr�IOError�EnvironmentErrorr�
librsyncError�
PathException�
isinstance�hasattrr�	errorcode)�
error_handler�function�argsr�excrr�2/usr/lib/python3/dist-packages/duplicity/robust.py�check_common_errors"

�
�����r#cs$�fdd�}t|�j�}|��|S)z<Like path.listdir() but return [] if error, and sort resultscst�td��j�gS)NzError listing directory %s)r�Warn�_�uc_name)r!rrr"r?szlistpath.<locals>.error_handler)r#�listdir�sort)rr�dir_listingrrr"�listpath=sr*)r)rrrr�tmp_file_indexr#r*rrrr"�<module>s


https://t.me/RX1948 - 2025