HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/cloudinit/cmd/devel/__pycache__/__init__.cpython-38.pyc
U

Ӈg��@s2dZddlmZddlmZd	eed�dd�ZdS)
z7Common cloud-init devel command line utility functions.�)�Paths)�Init�)�fetch_existing_datasource�returncCs(tgd�}|r|j|d�|��|jS)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.
    )Zds_deps)�existing)rZfetchZread_cfg�paths)rZinit�r	�>/usr/lib/python3/dist-packages/cloudinit/cmd/devel/__init__.py�read_cfg_paths	s


rN)r)�__doc__Zcloudinit.helpersrZcloudinit.stagesr�strrr	r	r	r
�<module>s