HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/landscape/lib/__pycache__/juju.cpython-312.pyc
�

�~�e<��.�ddlZddlZddlZddlmZd�Zy)�N)�read_text_filec�>�tjj|j�syt	|j�}	tj|�}|dj�|d<|S#t$r%tjd|j���YywxYw)zo
    Returns available Juju info or C{None} if the path referenced from
    L{config} is not a valid file.
    Nz#Error attempting to read JSON from z
api-addresses)�os�path�exists�
juju_filenamer�json�loads�	Exception�logging�	exception�split)�config�
json_contents�	juju_infos   �4/usr/lib/python3/dist-packages/landscape/lib/juju.py�
get_juju_infors���
�7�7�>�>�&�.�.�/��"�6�#7�#7�8�M�	��J�J�}�-�	�"+�?�!;�!A�!A�!C�I�o����������1�&�2F�2F�1G�H�	
��	�s�A.�.+B�B)r	rr�landscape.lib.fsrr��r�<module>rs����	�+�r