🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-09 07:05:29 | PHP 8.2.33
📂
/ (Root)
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
clcommon
/
__pycache__
📍 /opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/__pycache__
🔄 Refresh
✏️
Editing: clconfpars.cpython-311.pyc
Read Only
� ��Tj(8 � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ G d� de � � Z G d� de � � ZdZd"d �Z d Zdedefd �Zd#d�Zi Zd$d�Z ej d� � Zd� Zd%d�Z ej dej ej z ej z � � Zd� Zd� Zd� Zd� Zd� Z d� Z!d� Z"d� Z# edg d�� � Z$d� Z%d edefd!�Z&dS )&� N)� namedtuplec � � e Zd Zd� ZdS )�WebConfigParsingErrorc � � || _ d S �N��message��selfr s ��/builddir/build/BUILDROOT/alt-python27-cllib-3.4.41-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/clconfpars.py�__init__zWebConfigParsingError.__init__ � � ������ N��__name__� __module__�__qualname__r � r r r r �# � � � � � �� � � � r r c � � e Zd Zd� ZdS )�WebConfigMissingc � � || _ d S r r r s r r zWebConfigMissing.__init__ r r Nr r r r r r r r r �asectionFc �& � t j dd d�� � }|rt |_ |rbt | d� � 5 }|� � � � t j � � d� � }d d d � � n# 1 swxY w Y n>t | dd�� � 5 }|� � � }d d d � � n# 1 swxY w Y |� d t � d �|z | �� � t |� t �� � � � S ) NTF)�allow_no_value� interpolation�strict�rb�replace�r�utf-8��encoding�[z] )�source)�section) �configparser�ConfigParser�str�optionxform�open�read�decode�locale�getpreferredencoding�read_string�SECHEAD�dict�items)�path�case_sensitive�ignore_bad_encoding�config�f�raws r �loadr: s� � � � &�d�59�.3�5� 5� 5�F� � !� ���� � �$�� � � L���&�&�(�(�/�/�&�"=�"?�"?��K�K�C� L� L� L� L� L� L� L� L� L� L� L���� L� L� L� L�� �$��g� .� .� .� �!��&�&�(�(�C� � � � � � � � � � � ���� � � � � ���'�7�'�'�'�#�-�d��;�;�;�����W��-�-�.�.�.s# �:A>�>B�B�B=�=C�C)�'�"�val�returnc � � | � t � � r$| � t � � r | dd� S | S )zW Strips single or double quote char only if the quote present from both sides. � ���)� startswith�_QUOTES�endswith)r= s r �$_strip_escape_quotes_of_config_valuerE 2 s>