Skip to content

Commit 81f4672

Browse files
author
Dan
committed
Fix docstring indentation
1 parent 7034d55 commit 81f4672

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pssh.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __init__(self, host,
8282
num_retries=DEFAULT_RETRIES, _agent=None, timeout=None):
8383
"""Connect to host honouring any user set configuration in ~/.ssh/config \
8484
or /etc/ssh/ssh_config
85-
85+
8686
:param host: Hostname to connect to
8787
:type host: str
8888
:param user: (Optional) User to login as. Defaults to logged in user or \
@@ -244,7 +244,7 @@ def _make_sftp(self):
244244

245245
def mkdir(self, sftp, directory):
246246
"""Make directory via SFTP channel
247-
247+
248248
:param sftp: SFTP client object
249249
:type sftp: :mod:`paramiko.SFTPClient`
250250
:param directory: Remote directory to create
@@ -372,7 +372,7 @@ def __init__(self, hosts,
372372
>>> client = ParallelSSHClient(['myhost1', 'myhost2'], pkey=client_key)
373373
374374
.. note ::
375-
375+
376376
**Connection persistence**
377377
378378
Connections to hosts will remain established for the duration of the
@@ -415,7 +415,7 @@ def exec_command(self, *args, **kwargs):
415415
:rtype: List of :mod:`gevent.Greenlet`
416416
417417
**Example**:
418-
418+
419419
>>> cmds = client.exec_command('ls -ltrh')
420420
421421
Wait for completion, no stdout:
@@ -508,7 +508,7 @@ def get_stdout(self, greenlet, return_buffers=False):
508508

509509
def copy_file(self, local_file, remote_file):
510510
"""Copy local file to remote file in parallel
511-
511+
512512
:param local_file: Local filepath to copy to remote host
513513
:type local_file: str
514514
:param remote_file: Remote filepath on remote host to copy file to

0 commit comments

Comments
 (0)