From e5f47b5182c16c0e3bf5d91b2965f63f3c9ca6de Mon Sep 17 00:00:00 2001 From: Andrew Wason Date: Sat, 9 Feb 2019 11:41:40 -0500 Subject: Fix line length --- paramiko/ecdsakey.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paramiko/ecdsakey.py b/paramiko/ecdsakey.py index b607eee1..353c5f9e 100644 --- a/paramiko/ecdsakey.py +++ b/paramiko/ecdsakey.py @@ -160,9 +160,10 @@ class ECDSAKey(PKey): pointinfo = msg.get_binary() try: - self.verifying_key = ec.EllipticCurvePublicKey.from_encoded_point( + key = ec.EllipticCurvePublicKey.from_encoded_point( self.ecdsa_curve.curve_class(), pointinfo ) + self.verifying_key = key except ValueError: raise SSHException("Invalid public key") -- cgit v1.2.3