summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2019-05-31 20:22:22 -0400
committerJeff Forcier <jeff@bitprophet.org>2019-05-31 20:22:22 -0400
commit2c15c198f654a527f73f6fd2c10df44a324a1a4f (patch)
treefb214788b2dd11db56737697bacec43f675dad69
parente32ac1fc926cd9e2e4998c12aecafc37862f13ef (diff)
flake8 caught that this internal import was missing
Worries me that it was not caught by the implementer though, doesn't that mean this method was not called by their testing?
-rw-r--r--paramiko/ssh_gss.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/paramiko/ssh_gss.py b/paramiko/ssh_gss.py
index a8424036..bd774e9f 100644
--- a/paramiko/ssh_gss.py
+++ b/paramiko/ssh_gss.py
@@ -470,6 +470,8 @@ class _SSH_GSSAPI_NEW(_SSH_GSSAuth):
:return: A ``String`` if the GSS-API has returned a token or ``None``
if no token was returned
"""
+ from pyasn1.codec.der import decoder
+
self._username = username
self._gss_host = target
targ_name = gssapi.Name(