| Server IP : 46.245.81.90 / Your IP : 216.73.216.85 Web Server : Apache System : Linux server3ir.xdlhost.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64 User : gmparts ( 1037) PHP Version : 8.1.34 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/clcagefslib/__pycache__/ |
Upload File : |
�
�9Vj � �� � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlm Z d dl
mZ ej e
� � Zd
d�Zej d� � � Zd� Zd� Zdd
�Zd� Zd� ZdS )� N)� clcaptain)�ExternalProgramFailedTc �$ � t | d� � 5 }|� � � cddd� � S # 1 swxY w Y dS # t t f$ r> t j d| z t j d� � |s� t j d� � Y dS w xY w)z�
Helper for read file, process errors and make backup before read
:param: filename `str` name of file for read
:param: exit_on_error `bool` use sys.exit on error or raise exception
�rNzError: failed to read � ) �open� readlines�OSError�IOError�secureio�logging�SILENT_FLAG�sys�exit)�filename�
exit_on_error�_files �Bopt/cloudlinux/venv/lib/python3.11/site-packages/clcagefslib/io.py� read_filer s� � ��
�(�C�
�
� %�E��?�?�$�$� %� %� %� %� %� %� %� %� %� %� %� %���� %� %� %� %� %� %��
�W�� � � ���1�H�<�h�>R�TU�V�V�V�� ����������� ���s- �A �3�A �7�A �7�A � AB�Bc � � t | � � S �N)r )�paths r �read_file_cachedr &