%PDF- %PDF-
Direktori : /lib/python3/dist-packages/duplicity/__pycache__/ |
Current File : //lib/python3/dist-packages/duplicity/__pycache__/robust.cpython-312.pyc |
� �2e� � �6 � d dl Z d dlmZ d dlmZ dZdd�Zd� Zy)� N)�librsync)�log� c � � ddl m} ||� S # t t t j |j f$ rV}t |t � r+t |d� r/t j |j dv r| r | |g|��� cY d}~S � Y d}~yd}~ww xY w)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�$����� � �*���&