| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/duplicity/__pycache__/ |
Upload File : |
o
�~�_� � @ s: d dl Z d dlmZ d dlmZ dZd
dd�Zdd � ZdS )� N)�librsync)�log� � c C s� ddl m} z||� W S tttj|jfyH } z+t|t�r+t|d�r<t j
|j dv r<| r;| |g|�R � W Y d}~S n� W Y d}~dS d}~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 �excr r �2/usr/lib/python3/dist-packages/duplicity/robust.py�check_common_error s"