HEX
Server: nginx/1.18.0
System: Linux vps-9dcdb12e 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.24
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: //lib/python3/dist-packages/landscape/lib/__pycache__/juju.cpython-310.pyc
o

���c\�@s<ddlmZddlZddlZddlZddlmZdd�ZdS)�)�absolute_importN)�read_text_filecCsdtj�|j�s	dSt|j�}zt�|�}Wnty't�	d|j�YdSw|d�
�|d<|S)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 %sz
api-addresses)�os�path�exists�
juju_filenamer�json�loads�	Exception�logging�	exception�split)�config�
json_contents�	juju_info�r�4/usr/lib/python3/dist-packages/landscape/lib/juju.py�
get_juju_info
s
��r)�
__future__rrrr�landscape.lib.fsrrrrrr�<module>s