|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/cllimits/__pycache__/ |
�
<�0ׄ�� �� � 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__� � �py/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"