haxorqt
Home
Console
Upload
information
Create File
Create Folder
About
:
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
clcagefslib
/
__pycache__
/
Filename :
io.cpython-311.pyc
back
Copy
� ��lj � �� � 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 &