
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
3
\me                 @   s2   d Z ddlmZ ddlmZ d	eedddZdS )
z6Common cloud-init devel commandline utility functions.    )Paths)Init )fetch_existing_datasourcereturnc             C   s(   t g d}| r|j| d |j  |jS )a  Return a Paths object based on the system configuration on disk.

    :param fetch_existing_datasource: String one of check or trust. Whether to
        load the pickled datasource before returning Paths. This is necessary
        when using instance paths via Paths.get_ipath method which are only
        known from the instance-id metadata in the detected datasource.

    :raises: DataSourceNotFoundException when no datasource cache exists.
    )Zds_deps)Zexisting)r   ZfetchZread_cfgpaths)r   Zinit r   /usr/lib/python3.6/__init__.pyread_cfg_paths	   s
    

r
   N)r   )__doc__Zcloudinit.helpersr   Zcloudinit.stagesr   strr
   r   r   r   r	   <module>   s   