summaryrefslogtreecommitdiff
path: root/paramiko/agent.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-05-31 18:03:12 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-05-31 18:03:12 -0700
commit25de2a02048897752df356189017b22a49d37f88 (patch)
tree60ee505fa6a9c8b11852b1b9a8dd06bcdc89936e /paramiko/agent.py
parentf95f0eb1fb82da7ead513dac352ec92712d68e24 (diff)
downloadparamiko-25de2a02048897752df356189017b22a49d37f88.tar.gz
More death to line continuations
Diffstat (limited to 'paramiko/agent.py')
-rw-r--r--paramiko/agent.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/paramiko/agent.py b/paramiko/agent.py
index c950ba5e..a7cab4d8 100644
--- a/paramiko/agent.py
+++ b/paramiko/agent.py
@@ -115,9 +115,13 @@ class AgentProxyThread(threading.Thread):
# The address should be an IP address as a string? or None
self.__addr = addr
self._agent.connect()
- if not isinstance(self._agent, int) and \
- (self._agent._conn is None or
- not hasattr(self._agent._conn, 'fileno')):
+ if (
+ not isinstance(self._agent, int) and
+ (
+ self._agent._conn is None or
+ not hasattr(self._agent._conn, 'fileno')
+ )
+ ):
raise AuthenticationException("Unable to connect to SSH agent")
self._communicate()
except: