~e<.ddlZddlZddlZddlmZdZy)N)read_text_filec>tjj|jsyt |j} t j |}|dj|d<|S#t$r%tjd|jYywxYw)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) ospathexists juju_filenamerjsonloads Exceptionlogging exceptionsplit)config json_contents juju_infos 4/usr/lib/python3/dist-packages/landscape/lib/juju.py get_juju_infors 77>>&.. /"6#7#78M JJ}- "+?!;!A!A!CIo  1&2F2F1G H  sA..+BB)r r rlandscape.lib.fsrrrrs  +r