diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2017-06-05 23:15:20 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2017-06-05 23:15:20 -0700 |
commit | c47952f23b1eff1ed1820edf6b699c73035b5615 (patch) | |
tree | cf32ffc5be1df4600a9b019768f1b08bd725fd58 | |
parent | c841d6b61a8ece9bfdbe4b696682df9964c90a58 (diff) |
2.1-specific broken sphinx refs
-rw-r--r-- | paramiko/channel.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py index 51646ea3..db2aa586 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -306,9 +306,9 @@ class Channel (ClosingContextManager): :param dict environment: a dictionary containing the name and respective values to set - :raises SSHException: - if any of the environment variables was rejected by the server or - the channel was closed + :raises: + `.SSHException` -- if any of the environment variables was rejected + by the server or the channel was closed """ for name, value in environment.items(): try: @@ -331,8 +331,9 @@ class Channel (ClosingContextManager): :param str name: name of the environment variable :param str value: value of the environment variable - :raises SSHException: - if the request was rejected or the channel was closed + :raises: + `.SSHException` -- if the request was rejected or the channel was + closed """ m = Message() m.add_byte(cMSG_CHANNEL_REQUEST) |