Skip to content

Commit 13c67ff

Browse files
author
Dan
committed
Updated readme for new release. Updated release version.
1 parent ed8dd78 commit 13c67ff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ Run `ls` on two remote hosts in parallel.
4444
>>> client = ParallelSSHClient(hosts)
4545
>>> output = client.run_command('ls -ltrh /tmp/', sudo=True)
4646
>>> print output
47-
{'myhost1': {'exit_code': 0, 'stdout': <generator>, 'stderr': <generator>, 'channel': <channel>, 'cmd' : <greenlet>},
48-
'myhost2': {'exit_code': 0, 'stdout': <generator>, 'stderr': <generator>, 'channel': <channel>, 'cmd' : <greenlet>}}
47+
{'myhost1': {'exit_code': 0, 'stdout': <generator>, 'stderr': <generator>, 'channel': <channel>, 'cmd' : <greenlet>, 'exception' : None},
48+
'myhost2': {'exit_code': 0, 'stdout': <generator>, 'stderr': <generator>, 'channel': <channel>, 'cmd' : <greenlet>, 'exception' : None}}
4949

50-
Stdout and stderr buffers are available in output. Iterating on them can be used to get output as it becomes available.
50+
Stdout and stderr buffers are available in output. Iterating on them can be used to get output as it becomes available. Iteration ends *only when command has finished*.
5151

5252
>>> for host in output:
5353
>>> for line in output[host]['stdout']:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from setuptools import setup, find_packages
1717

1818
setup(name='parallel-ssh',
19-
version='0.70.3',
19+
version='0.80.0',
2020
description='Asynchronous parallel SSH library',
2121
author='Panos Kittenis',
2222
author_email='[email protected]',

0 commit comments

Comments
 (0)