AlkantarClanX12

Your IP : 3.141.38.5


Current Path : /opt/alt/python37/lib/python3.7/site-packages/raven/utils/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/raven/utils/__pycache__/conf.cpython-37.pyc

B

��Y��@sBddlmZddlZddlZddlmZddlmZddd�ZdS)�)�absolute_importN)�string_types)�
import_stringcs��dkri�t�t�rFd��fdd�	}t���d�p@��d�p@i�}n2d��fdd�	}t�t�dd�ptt�dd�pti�}|�d|dg��|�d|dg��|�d	|d	��|�d
|d
��|�d|d��|�d|d��|�d
|d
��|�d|d��|�d|d��|�d|dtj�d���|�d|d��|�d|d��|�d|d��|�d|d��|�d|d��|�d|d��|�d|d��|d��p�|�d�}t|t��r�t	|�}||d<|S)zy
    Convert a settings object (or dictionary) to parameters which may be passed
    to a new ``Client()`` instance.
    Ncs��d|����||��S)Nz	SENTRY_%s)�get�upper)�key�default)�defaults�settings��A/opt/alt/python37/lib/python3.7/site-packages/raven/utils/conf.py�getopts
zconvert_options.<locals>.getoptZ
SENTRY_CONFIGZRAVEN_CONFIGcst�d|����||��S)Nz	SENTRY_%s)�getattrrr)rr)r	r
rrr
sZ
include_pathsZ
exclude_paths�timeout�nameZauto_log_stacksZstring_max_lengthZlist_max_length�siteZ
processorsZdsnZ
SENTRY_DSN�contextZtags�releaseZrepos�environmentZignore_exceptionsZsample_rate�	transport)N)N)
�
isinstance�dict�copyrr�
setdefault�os�environrr)r
r	r
�optionsrr)r	r
r�convert_options
sF


r)N)	�
__future__rrrZraven.utils.compatrZraven.utils.importsrrrrrr�<module>s