Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Commit

Permalink
fix aliveness check that was failling only on 3.6 for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
carlmontanari committed Jun 6, 2020
1 parent 913e305 commit 1dca09b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion scrapli_asyncssh/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""scrapli asyncssh transport plugin"""

__version__ = "2020.06.06.post1"
__version__ = "2020.06.06.post2"
1 change: 0 additions & 1 deletion scrapli_asyncssh/transport/asyncssh_.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ def isalive(self) -> bool:
if (
isauthenticated
and self.session._transport.is_closing() is False # pylint: disable=W0212
and self.session._transport.is_reading() is True # pylint: disable=W0212
):
return True
except AttributeError:
Expand Down

0 comments on commit 1dca09b

Please sign in to comment.