/
lib
/
python3.9
/
site-packages
/
virtualenv
/
config
/
__pycache__
/
Upload File
HOME
a ��:i� � @ s d dl m Z dd� ZdgZdS )� )�convertc C sX d| � � � �}|�|�rT|| }z d|� �}t|||�}||fW S tyR Y n0 dS )z�Get the environment variable option. :param key: the config key requested :param as_type: the type we would like to convert it to :param env: environment variables to use :return: ZVIRTUALENV_zenv var N)�upper�getr � Exception)�keyZas_type�envZenviron_key�value�source� r �=/usr/lib/python3.9/site-packages/virtualenv/config/env_var.py�get_env_var s r N)r r �__all__r r r r �<module> s �