Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ exec-helpers
:target: https://pypi.python.org/pypi/exec-helpers
.. image:: https://img.shields.io/github/license/python-useful-helpers/exec-helpers.svg
:target: https://raw.githubusercontent.com/python-useful-helpers/exec-helpers/master/LICENSE
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/ambv/black

Execution helpers for simplified usage of subprocess and ssh.
Why another subprocess wrapper and why no clear `paramiko`?
Expand Down
46 changes: 22 additions & 24 deletions exec_helpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
CalledProcessError,
ParallelCallProcessError,
ParallelCallExceptions,
ExecHelperTimeoutError
ExecHelperTimeoutError,
)

from .exec_result import ExecResult
Expand All @@ -33,32 +33,30 @@
from .subprocess_runner import Subprocess, SubprocessExecuteAsyncResult # nosec # Expected

__all__ = (
'ExecHelperError',
'ExecCalledProcessError',
'CalledProcessError',
'ParallelCallExceptions',
'ParallelCallProcessError',
'ExecHelperTimeoutError',
'ExecHelper',
'SSHClient',
'SshExecuteAsyncResult',
'SSHAuth',
'Subprocess',
'SubprocessExecuteAsyncResult',
'ExitCodes',
'ExecResult',
"ExecHelperError",
"ExecCalledProcessError",
"CalledProcessError",
"ParallelCallExceptions",
"ParallelCallProcessError",
"ExecHelperTimeoutError",
"ExecHelper",
"SSHClient",
"SshExecuteAsyncResult",
"SSHAuth",
"Subprocess",
"SubprocessExecuteAsyncResult",
"ExitCodes",
"ExecResult",
)

__version__ = '2.0.2'
__version__ = "2.0.2"
__author__ = "Alexey Stepanov"
__author_email__ = 'penguinolog@gmail.com'
__author_email__ = "penguinolog@gmail.com"
__maintainers__ = {
'Alexey Stepanov': 'penguinolog@gmail.com',
'Antonio Esposito': 'esposito.cloud@gmail.com',
'Dennis Dmitriev': 'dis-xcom@gmail.com',
"Alexey Stepanov": "penguinolog@gmail.com",
"Antonio Esposito": "esposito.cloud@gmail.com",
"Dennis Dmitriev": "dis-xcom@gmail.com",
}
__url__ = 'https://github.com/python-useful-helpers/exec-helpers'
__description__ = (
"Execution helpers for simplified usage of subprocess and ssh."
)
__url__ = "https://github.com/python-useful-helpers/exec-helpers"
__description__ = "Execution helpers for simplified usage of subprocess and ssh."
__license__ = "Apache License, Version 2.0"
8 changes: 4 additions & 4 deletions exec_helpers/_log_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

CMD_WAIT_ERROR = (
"Wait for {result.cmd!r} during {timeout!s}s: no return code!\n"
'\tSTDOUT:\n'
'{result.stdout_brief}\n'
'\tSTDERR"\n'
'{result.stderr_brief}'
"\tSTDOUT:\n"
"{result.stdout_brief}\n"
"\tSTDERR:\n"
"{result.stderr_brief}"
)
Loading