Skip to content

Commit

Permalink
Added better logging output to get_device
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobby Watson committed Nov 7, 2017
1 parent ae14c35 commit fe886f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pylib/aeon/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_device(target=None, user='admin', passwd='admin', nos_only=False):
raise TargetError('Unable to determine device type for %s' % target)

except pxssh.ExceptionPxssh as e:
return "Error logging in: %s" % e
raise TargetError("Error logging in: %s" % e)

finally:
session.close()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def requirements(filename):

setup(
name="aeon-venos",
version="0.9.1",
version="0.9.2",
author="Jeremy Schulman",
url='https://github.com/Apstra/aeon-venos',
author_email="jeremy@apstra.com",
Expand Down

0 comments on commit fe886f4

Please sign in to comment.