Skip to content

Commit

Permalink
Fix #82
Browse files Browse the repository at this point in the history
* Enhance exception classes usability
* Fix BaseSSH exception handling during _create_tunnels()
* Address sphinx bug
  • Loading branch information
fernandezcuesta authored Mar 15, 2017
1 parent 114cdea commit cb642c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ CONTRIBUTORS

CHANGELOG
=========

- v.0.1.2 (`JM Fernández`_)
+ Fix #77
- v.0.1.1 (`JM Fernández`_)
+ Fix #72
- v.0.1.0 (`JM Fernández`_)
Expand Down
1 change: 1 addition & 0 deletions docs/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
docutils==0.12
sphinx==1.3.5
sphinxcontrib-napoleon==0.5.0
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def run_tests(self):
errcode = tox.cmdline(self.test_args)
sys.exit(errcode)


setup(
name=name,

Expand Down
2 changes: 1 addition & 1 deletion sshtunnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ def _create_tunnels(self):
try:
self._make_ssh_forward_server(rem, loc)
except BaseSSHTunnelForwarderError as e:
msg = 'Problem setting SSH Forwarder up: {0}'.format(e.args[0])
msg = 'Problem setting SSH Forwarder up: {0}'.format(e.value)
self.logger.error(msg)

@staticmethod
Expand Down

0 comments on commit cb642c4

Please sign in to comment.