Skip to content

Commit b4e6378

Browse files
committed
Changed try/except in test to be py2.5 compatible - added travis build icon and link to readme
1 parent 2d9bea3 commit b4e6378

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
parallel-ssh
22
============
33

4-
Small wrapper library over paramiko that allows for parallel execution of SSH commands on remote hosts and executing simple single host commands over SSH
4+
Small wrapper library over paramiko that allows for parallel execution of SSH commands on remote hosts and executing simple single host commands over SSH
5+
6+
.. image:: https://api.travis-ci.org/pkittenis/parallel-ssh.png?branch=master
7+
:target: https://travis-ci.org/pkittenis/parallel-ssh

tests/test_ssh_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python2.7
1+
#!/usr/bin/env python
22

33
"""Unittests for verrot webapp"""
44

@@ -11,7 +11,7 @@ class SSHClientTest(unittest.TestCase):
1111
def test_ssh_client(self):
1212
try:
1313
client = SSHClient('testy')
14-
except UnknownHostException as e:
14+
except UnknownHostException, e:
1515
print e
1616
return
1717
stdin, stdout, stderr = client.exec_command('ls -ltrh')

0 commit comments

Comments
 (0)