관리-도구
편집 파일: limits.cpython-311.opt-1.pyc
� �EBg�� � � � d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlm Z m Z mZmZm Z mZmZmZmZmZ d dlmZ d dlmZmZmZ d dlmZmZ d d lmZ d d lmZm Z m!Z!m"Z" d dl#m$Z$m%Z%m&Z& d dl'm(Z(m)Z)m*Z* d dl+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5 d dl6m7Z7 G d� de� � Z8d� d� d� d� d� d� d� d� d� d� d� Z9g d�Z:ddgZ; G d � d!� � Z< G d"� d#e<� � Z=dS )$� N)�defaultdict)�ClPwd)�FormattedException) �Feature�NotSupported�cpinfo�domain_owner�get_main_username_by_uid� getCPName�is_admin�is_panel_feature_supported�is_reseller�reseller_users)� EncodingError)� MySQLGovernor�MySQLGovException�GovernorStatus)�print_dictionary�replace_params)�CloudlinuxLicenseLib)�CageFs�CageFsException�LveCtl�LvectlException)�ClQuotaException� ClQuotaLib�QuotaDisabledException)�convert_to_kernel_format�is_active_reseller_limits�lve� ) �ADMIN_ONLY_OPTIONS�AVAILABLE_KEYS�AVAILABLE_LIMITS�AVAILABLE_LVE_KEYS�AVAILABLE_LVP_KEYS�AVAILABLE_MYSQL_KEYS�AVAILABLE_MYSQL_KEYS_ALL�AVAILABLE_QUOTA_KEYS�CloudlinuxLimitsNoLveOptsParser�CloudlinuxLimitsOptsParser)�convert_mem_value_to_bytesc � � e Zd ZdS )�DomainExceptionN)�__name__� __module__�__qualname__� � �py/cllimits/lib/limits.pyr. r. $ s � � � � � ��Dr3 r. c �� � | d � dt t t |� � � r|� d�n|� � � � dz � � i� � S )N�cpu�all�%�d )�update�str�intr �isdigit��limits�values r4 �<lambda>rA ) sr � � �5�M��� �s�3�/�u�}�}��� 1;�5�����5:�<� <� =� =�@C�D� E� E�� � � r3 c �<