Verified Commit fa1bac46 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

flake8

parent 25251de6
......@@ -155,7 +155,7 @@ class SSHIOStream(IOStream):
try:
self.session.userauth_publickey_frommemory(user, priv_key, "", pub_key)
return True
except SSH2Error as e:
except SSH2Error:
msg = self.session.last_error()
self.logger.debug("Failed: %s", msg)
return False
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment