Your IP : 3.15.233.123
�
T�gD1 � �� � d dl Z d dlmZmZmZ d dlmZ d dlmZm Z d dl
mZ d dlm
Z
mZ G d� de� � Z G d � d
e� � Z G d� de� � Z G d
� d� � ZdS )� N)�Dict�Optional�Tuple)�FormattedException)�ExternalProgramFailed�run_command)�exec_utility)�is_quota_active�is_quota_supportedc � � e Zd ZdS )�ClQuotaExceptionN)�__name__�
__module__�__qualname__� � �K/opt/cloudlinux/venv/lib64/python3.11/site-packages/cllimits/clquota_lib.pyr
r
s � � � � � ��Dr r
c �$ � � e Zd ZdZd� fd� Z� xZS )�UnexpectedClQuotaErrorzU
Raised when we get output from cl-quota
that cannot be parsed properly.
Nc �Z �� dd|d�d�}t � � � |� � d S )Nz�Unexpected response got from %(util)s. Raw response from cl-quota: '%(raw_response)s'.Please, contact CloudLinux support for help in resolving this issue.�Quota)�util�raw_response��message�context��super�__init__)�selfr �broken_exc_message� __class__s �r r zUnexpectedClQuotaError.__init__ sF �� �*p� 3:�<�)X�)X�Z� Z�� �����+�,�,�,�,�,r �N�r r r �__doc__r �
__classcell__�r"