ok

Mini Shell

Direktori : /opt/alt/python37/lib/python3.7/site-packages/clcommon/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/clcommon/__pycache__/clcustomscript.cpython-37.pyc

B

E!wd��@s@ddlmZddlmZddlmZddlZdZdd�ZdZdS)	�)�absolute_import)�division)�print_functionNzAleksandr Shyshatskyc
Cs�d}y�tj�t�r�ttd��}|��}WdQRXx`|D]X}|��}|�|�r6|�d�}t	|�dkr6|d��|kr6|d��}tj�|�r6|Sq6WWnt
ttfk
r�YnXdS)z�
    Retrives custom panel script for lvectl from CL config file
    :return: Script full path or None if script filename not find in config
    ZCUSTOM_GETPACKAGE_SCRIPT�rN�=�r�)
�os�path�exists�CLSYSCONFIG�open�	readlines�strip�
startswith�split�len�OSError�IOError�
IndexError)Zconfig_param_name�fZ
file_lines�lineZ
line_partsZscript_name�r�H/opt/alt/python37/lib/python3.7/site-packages/clcommon/clcustomscript.py�lvectl_custompanel_scripts 


rz/etc/sysconfig/cloudlinux)Z
__future__rrrr	�
__author__rrrrrr�<module>s

Zerion Mini Shell 1.0