diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2012-11-05 17:29:32 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2012-11-05 17:29:32 -0800 |
commit | 394ab2699e254145e4904e1408036bb1683c14ca (patch) | |
tree | 9f3716b78913928bc0f258c98b34475172c12730 | |
parent | 5d15467ad4f14b13e2d68f8f3b0c8d33dde4afeb (diff) |
Post-import edits
-rw-r--r-- | paramiko/ssh_exception.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/paramiko/ssh_exception.py b/paramiko/ssh_exception.py index 3fe27398..f2406dcf 100644 --- a/paramiko/ssh_exception.py +++ b/paramiko/ssh_exception.py @@ -114,17 +114,19 @@ class BadHostKeyException (SSHException): self.expected_key = expected_key -class BadProxyCommand (SSHException): +class ProxyCommandFailure (SSHException): """ The "ProxyCommand" found in the .ssh/config file returned an error. - @ivar command: The command line that is generating this exception + @ivar command: The command line that is generating this exception. @type command: str - @ivar error: The error captured from the proxy command output + @ivar error: The error captured from the proxy command output. @type error: str """ def __init__(self, command, error): SSHException.__init__(self, '"ProxyCommand (%s)" returned non-zero exit status: %s' % ( - command, error)) + command, error + ) + ) self.error = error |