diff options
author | Kirk Byers <ktbyers@twb-tech.com> | 2016-12-10 07:54:12 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-12-12 15:24:43 -0800 |
commit | 29c87db1c88dc8188f3084ac29e04d04f40f8e31 (patch) | |
tree | 2052b89af2841d1914b9b50b711e1ae00115ec52 | |
parent | 6dd47a677e0e919c4c10c3fed3a4173e9c49199c (diff) |
Fixing invoke_shell reference to obsolete update_environment_variables
-rw-r--r-- | paramiko/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index 69666360..53282c01 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -464,7 +464,7 @@ class SSHClient (ClosingContextManager): """ chan = self._transport.open_session() chan.get_pty(term, width, height, width_pixels, height_pixels) - chan.update_environment_variables(environment or {}) + chan.update_environment(environment or {}) chan.invoke_shell() return chan |