Skip to content

Commit 43f3d7a

Browse files
author
Dan
committed
Fix more docstrings
1 parent 22fff30 commit 43f3d7a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pssh.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ def __init__(self, hosts,
330330
331331
**Example**
332332
333-
>>> from pssh import ParallelSSHClient, AuthenticationException,\
334-
UnknownHostException, ConnectionErrorException
333+
>>> from pssh import ParallelSSHClient, AuthenticationException, \
334+
UnknownHostException, ConnectionErrorException
335335
>>> client = ParallelSSHClient(['myhost1', 'myhost2'])
336336
>>> try:
337337
>>> ... output = client.run_command('ls -ltrh /tmp/aasdfasdf', sudo=True)
@@ -503,9 +503,10 @@ def get_output(self, commands=None):
503503
Stdout and stderr are also logged via the logger named ``host_logger``
504504
which is enabled by default.
505505
``host_logger`` output can be disabled by removing its handler.
506+
506507
>>> logger = logging.getLogger('host_logger')
507508
>>> for handler in logger.handlers: logger.removeHandler(handler)
508-
509+
509510
**Example usage**:
510511
511512
>>> output = client.get_output()

0 commit comments

Comments
 (0)