Skip to content

Commit 233a55e

Browse files
author
Dan
committed
Updated readme for new repo location
1 parent 05aec5b commit 233a55e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Run commands via SSH over tens/hundreds/thousands+ number of servers asynchronou
88
.. image:: https://img.shields.io/pypi/v/parallel-ssh.svg
99
:target: https://pypi.python.org/pypi/parallel-ssh
1010
:alt: Latest Version
11-
.. image:: https://travis-ci.org/pkittenis/parallel-ssh.svg?branch=master
12-
:target: https://travis-ci.org/pkittenis/parallel-ssh
13-
.. image:: https://coveralls.io/repos/pkittenis/parallel-ssh/badge.png?branch=master
14-
:target: https://coveralls.io/r/pkittenis/parallel-ssh?branch=master
11+
.. image:: https://travis-ci.org/ParallelSSH/parallel-ssh.svg?branch=master
12+
:target: https://travis-ci.org/ParallelSSH/parallel-ssh
13+
.. image:: https://coveralls.io/repos/ParallelSSH/parallel-ssh/badge.png?branch=master
14+
:target: https://coveralls.io/r/ParallelSSH/parallel-ssh?branch=master
1515
.. image:: https://readthedocs.org/projects/parallel-ssh/badge/?version=latest
1616
:target: http://parallel-ssh.readthedocs.org/en/latest/
1717
:alt: Latest documentation
@@ -40,7 +40,7 @@ Run ``ls`` on two remote hosts in parallel with ``sudo``.
4040
hosts = ['myhost1', 'myhost2']
4141
client = ParallelSSHClient(hosts)
4242
output = client.run_command('ls -ltrh /tmp/', sudo=True)
43-
print output
43+
print(output)
4444
{'myhost1': {'exit_code': None, 'stdout': <generator>, 'stderr': <generator>, 'channel': <channel>, 'cmd' : <greenlet>, 'exception' : None},
4545
'myhost2': {'exit_code': None, 'stdout': <generator>, 'stderr': <generator>, 'channel': <channel>, 'cmd' : <greenlet>, 'exception' : None}}
4646

@@ -61,7 +61,7 @@ Exit codes become available once stdout/stderr is iterated on or ``client.join(o
6161
::
6262

6363
for host in output:
64-
print output[host]['exit_code']
64+
print(output[host]['exit_code'])
6565
0
6666
0
6767

@@ -74,7 +74,7 @@ Similarly, if only exit codes are needed but not output ::
7474
output = client.run_command('exit 0')
7575
# Block and gather exit codes. Output variable is updated in-place
7676
client.join(output)
77-
print output[client.hosts[0]]['exit_code']
77+
print(output[client.hosts[0]]['exit_code'])
7878
0
7979

8080
There is a also host logger that can be enabled to log output from remote hosts. The helper function ``pssh.utils.enable_host_logger`` will enable host logging to stdout, for example ::

0 commit comments

Comments
 (0)