Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #230 from napalm-automation/develop
Browse files Browse the repository at this point in the history
Release 0.23.2
  • Loading branch information
dbarrosop authored Mar 29, 2017
2 parents c8f078c + ee5a294 commit c89dd65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion napalm_base/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ def __del__(self):
We need to make sure the connection is closed properly and the configuration DB
is released (unlocked).
"""
self.close()
try:
self.close()
except OSError as e:
# Ignore if socket was already closed
if 'is closed' in str(e):
pass

@staticmethod
def __raise_clean_exception(exc_type, exc_value, exc_traceback):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="napalm-base",
version='0.23.1',
version='0.23.2',
packages=find_packages(),
author="David Barroso",
author_email="[email protected]",
Expand Down

0 comments on commit c89dd65

Please sign in to comment.