summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/agent.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/paramiko/agent.py b/paramiko/agent.py
index 13dc7975..2ff7b449 100644
--- a/paramiko/agent.py
+++ b/paramiko/agent.py
@@ -214,9 +214,7 @@ def get_agent_connection():
if ("SSH_AUTH_SOCK" in os.environ) and (sys.platform != "win32"):
conn = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
try:
- retry_on_signal(
- lambda: conn.connect(os.environ["SSH_AUTH_SOCK"])
- )
+ retry_on_signal(lambda: conn.connect(os.environ["SSH_AUTH_SOCK"]))
return conn
except:
# probably a dangling env var: the ssh agent is gone