Revision a7cb58ce ncclient/transport/ssh.py

b/ncclient/transport/ssh.py
278 278

  
279 279
        if saved_exception is not None:
280 280
            # need pep-3134 to do this right
281
            raise SSHAuthenticationError(repr(saved_exception))
281
            raise AuthenticationError(repr(saved_exception))
282 282

  
283
        raise SSHAuthenticationError('No authentication methods available')
283
        raise AuthenticationError('No authentication methods available')
284 284

  
285 285
    def run(self):
286 286
        chan = self._channel

Also available in: Unified diff