ok

Mini Shell

Direktori : /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_pathsZtimeout�nameZauto_log_stacksZstring_max_lengthZlist_max_lengthZsiteZ
processorsZdsnZ
SENTRY_DSN�contextZtags�releaseZreposZenvironmentZignore_exceptionsZsample_rate�	transport)N)N)
�
isinstance�dict�copyrr�
setdefault�os�environrr)r
r	r
Zoptionsrr)r	r
r�convert_options
sF


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

Zerion Mini Shell 1.0