diff options
author | Anselm Kruis <a.kruis@science-computing.de> | 2017-09-12 20:29:42 +0200 |
---|---|---|
committer | Anselm Kruis <a.kruis@science-computing.de> | 2017-09-12 20:29:42 +0200 |
commit | 85996f55531c137909617f8cbe003666c9b60f6a (patch) | |
tree | 1ea7746b303f83112dd82b0fdf490342311bbb2e /paramiko/ssh_gss.py | |
parent | 0b99097fa8fdc297fef79ab599ab73349331af4e (diff) | |
download | paramiko-85996f55531c137909617f8cbe003666c9b60f6a.tar.gz |
Pep8 and Sphinx fixes.
Diffstat (limited to 'paramiko/ssh_gss.py')
-rw-r--r-- | paramiko/ssh_gss.py | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/paramiko/ssh_gss.py b/paramiko/ssh_gss.py index d8d32b5d..b3c3f72b 100644 --- a/paramiko/ssh_gss.py +++ b/paramiko/ssh_gss.py @@ -33,25 +33,20 @@ import struct import os import sys -""" -:var bool GSS_AUTH_AVAILABLE: - Constraint that indicates if GSS-API / SSPI is available. -""" + +#: A boolean constraint that indicates if GSS-API / SSPI is available. GSS_AUTH_AVAILABLE = True -""" -:var tuple GSS_EXCEPTIONS: - The exception types used by the underlying GSSAPI implementation. -""" + +#: A tuple of the exception types used by the underlying GSSAPI implementation. GSS_EXCEPTIONS = () + from pyasn1.type.univ import ObjectIdentifier from pyasn1.codec.der import encoder, decoder -""" -:var str _API: Constraint for the used API -""" +#: :var str _API: Constraint for the used API _API = "MIT" try: @@ -355,9 +350,9 @@ class _SSH_GSSAPI(_SSH_GSSAuth): if self._username is not None: # server mode mic_field = self._ssh_build_mic(self._session_id, - self._username, - self._service, - self._auth_method) + self._username, + self._service, + self._auth_method) self._gss_srv_ctxt.verify_mic(mic_field, mic_token) else: # for key exchange with gssapi-keyex |