Exceptions

This commit is contained in:
Jeff Forcier 2014-02-21 15:30:26 -08:00
parent 0e9a5a4b46
commit 8c7eafdfcd
1 changed files with 3 additions and 7 deletions

View File

@ -16,10 +16,6 @@
# along with Paramiko; if not, write to the Free Software Foundation, Inc., # along with Paramiko; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
"""
Exceptions defined by paramiko.
"""
class SSHException (Exception): class SSHException (Exception):
""" """
@ -52,9 +48,9 @@ class BadAuthenticationType (AuthenticationException):
the server isn't allowing that type. (It may only allow public-key, for the server isn't allowing that type. (It may only allow public-key, for
example.) example.)
:ivar allowed_types: list of allowed authentication types provided by the :ivar allowed_types:
server (possible values are: ``"none"``, ``"password"``, and list of allowed authentication types provided by the server (possible
``"publickey"``). values are: ``"none"``, ``"password"``, and ``"publickey"``).
:type allowed_types: list :type allowed_types: list
.. versionadded:: 1.1 .. versionadded:: 1.1