????
Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/clsentry/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/clsentry/__pycache__/client.cpython-311.pyc |
� K�f� � �� � d dl mZ d dl mZ d dl mZ d dlZd dlmZ d dlmZm Z d dl mZ d dlm Z d d lmZ d d lmZ d dlmZ d dlmZ G d � de� � Z G d� de� � ZdS )� )�absolute_import)�division)�print_functionN)�RequestException)�cpapi�get_lve_version)�get_cl_edition_readable)�get_rhn_systemid_value)�UNKNOWN_CP_NAME)�Client)�RequestsHTTPTransport)�get_pkg_versionc � � � e Zd Z� fd�Z� xZS )�SafeRequestsHTTPTransportc � �� t t | � � � |||� � d S # t $ r Y d S w xY w)N)�superr �sendr )�self�url�data�headers� __class__s ���/builddir/build/BUILDROOT/alt-python27-cllib-3.4.8-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clsentry/client.pyr zSafeRequestsHTTPTransport.send sU �� � ��+�T�2�2�7�7��T�7�K�K�K�K�K��� � � � �D�D� ���s �*/ � =�=)�__name__� __module__�__qualname__r � __classcell__�r s @r r r s8 �� � � � � �� � � � � � � � � r c �8 � � e Zd ZdZ� fd�Zed� � � Z� xZS )�UserlandClientz= Userland's sentry client with some common settings. c �� �� |� t | � � � t gddgddddt �� � � � t t | � � j |fi |�� d S )N�sentry�ravenTi� �d )z$clsentry.processors.UserlandSanitize)�tags�ignore_exceptions� exclude_paths�auto_log_stacks�string_max_length�list_max_length� processors� transport)�update�dict�_get_user_tags�KeyboardInterruptr r r! �__init__)r �dsn�optionsr s �r r2 zUserlandClient.__init__'