????
Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/cllimits/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/cllimits/__pycache__/clquota_lib.cpython-311.pyc |
� �o�e�1 � �� � d dl mZ d dlZd dlmZmZmZ d dlmZ d dl m Z d dlmZm Z d dlmZmZ d dlZd dlZ G d� d e � � Z G d � de� � Z G d� d e� � Z G d� d� � ZdS )� )�absolute_importN)�Tuple�Dict�Optional)�exec_utility)�FormattedException)�run_command�ExternalProgramFailed)�is_quota_supported�is_quota_activec � � 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 �h �� dd|d�d�}t 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)�superr �__init__)�selfr �broken_exc_message� __class__s �r r zUnexpectedClQuotaError.__init__ sM �� �*p� 3:�<�)X�)X�Z� Z�� �$�d�+�+�4�4�5G�H�H�H�H�Hr �N�r r r �__doc__r � __classcell__�r"