Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/fabric/__pycache__/operations.cpython-39.pyc
Ðазад
a {�h�� � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z ddlmZ ddl mZmZ ddlmZmZmZmZmZ ddlmZmZ ddlmZmZmZ dd lm Z dd l!m"Z"m#Z#m$Z$m%Z%m&Z& ddl'm(Z( ddl)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0 d d� Z1G dd� de2�Z3G dd� de4�Z5G dd� de6�Z7dd� Z8d<dd�Z9ed=dd��Z:ed>dd��Z;d d!� Z<d?d"d#�Z=d@d$d%�Z>d&d'� Z?dAd(d)�Z@dBd*d+�ZAedCd,d-��ZBed.d/� �ZCdDd0d1�ZDedEd2d3��ZEedFd4d5��ZFdGd7d8�ZGedHd;d:��ZHdS )IzQ Functions to be used in fabfiles and other non-core code, such as run()/sudo(). � N)�glob)�deque)�closing�contextmanager)�settings� char_buffered�hide�quiet� warn_only)�output_loop� input_loop)� needs_host�ssh� ssh_config)�SFTP)�env�connections�output�win32�default_channel)� ThreadHandler)�abort�error�handle_prompt_abort�indent� _pty_size�warn� apply_lcwdc C s dD ]}| � |d| �} q| S )z� Escape double quotes, backticks and dollar signs in given ``string``. For example:: >>> _shell_escape('abc$') 'abc\\$' >>> _shell_escape('"') '\\"' )�"�$�`z\%s)�replace)�string�char� r$ ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/fabric/operations.py� _shell_escape s r&