AlkantarClanX12
Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/clcommon/__pycache__/clconfig.cpython-311.pyc |
� �tg� � � � d dl Z dZd� Zd� ZdS )� Nz/var/cpanel/cpanel.configc �L � t | d�� � 5 }|� � � }ddd� � n# 1 swxY w Y n# t t f$ r Y dS w xY w|D ]I}|� |� d�� � r/|� � � � d� � d c S �JdS )z� Get param from config file :param path: Path to config file :type path: str :param param: Key for param in config file :type param: str �utf-8��encodingNF�=� )�open� readlines�OSError�IOError� startswith�strip�split)�path�param�f�data�lines ��/builddir/build/BUILDROOT/alt-python27-cllib-3.4.16-1.el8.cloudlinux.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/clcommon/clconfig.py� get_paramr s� � �� �$�� )� )� )� !�Q��;�;�=�=�D� !� !� !� !� !� !� !� !� !� !� !���� !� !� !� !����W�� � � ��u�u������ 0� 0���?�?�e�;�;�;�'�'� 0��J�J�L�L�&�&�s�+�+�Q�/�/�/�/� 0��4s, �A �4�A �8�A �8�A � A�Ac �� � |� d|� d�}t j � | � � sAt | dd�� � 5 }|� |� � ddd� � n# 1 swxY w Y dS t | d�� � 5 }|� � � }ddd� � n# 1 swxY w Y t |� � D ]w\ }}|� |� d�� � rZ|||<