HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/output/__pycache__/txt.cpython-310.pyc
o

�N�g��@sdZddlZdd�ZdS)a
Simple text outputter
=====================

The ``txt`` outputter has been developed to make the output from shell commands
on minions appear as they do when the command is executed on the minion.

CLI Example:

.. code-block:: bash

    salt '*' foo.bar --out=txt
�Nc	Ks�d}t|d�r8|D],}||}z|��D]}||�d|�d�7}qWq	ty5||�d|�d�7}Yq	w|Sz	||d7}W|StyU|t�|��d�7}Y|Sw)zB
    Output the data in lines, very nice for running commands
    ��keysz: �
)�hasattr�
splitlines�AttributeError�	TypeError�pprintZpformat)�data�kwargs�ret�key�value�line�r�C/opt/saltstack/salt/lib/python3.10/site-packages/salt/output/txt.py�outputs&
��	���r)�__doc__r	rrrrr�<module>s