ok
Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/clsentry/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/clsentry/__pycache__/client.cpython-311.pyc |
� I/�f[ � � � d dl Z d dlmZ d dlmZmZ d dlmZ d dlm Z d dl mZ d dlm Z d dlmZ d d lmZ G d � de� � Z G d� d e � � ZdS )� N)�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 �r �� t � � � |||� � d S # t $ r Y d S w xY w)N)�super�sendr )�self�url�data�headers� __class__s ���/builddir/build/BUILDROOT/alt-python27-cllib-3.4.11-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clsentry/client.pyr zSafeRequestsHTTPTransport.send sL �� � ��G�G�L�L��d�G�,�,�,�,�,��� � � � �D�D� ���s �#( � 6�6)�__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 gddgddddt d�� � 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�_get_user_tags�KeyboardInterruptr r �__init__)r �dsn�optionsr s �r r. zUserlandClient.__init__$ s� �� �����'�'�)�)�!�"� ��� $�!%�"�D� 3� � � � � �"