summaryrefslogtreecommitdiff
path: root/paramiko/client.py
diff options
context:
space:
mode:
authorKirk Byers <ktbyers@twb-tech.com>2016-12-10 07:54:12 -0800
committerJeff Forcier <jeff@bitprophet.org>2016-12-12 15:24:43 -0800
commit29c87db1c88dc8188f3084ac29e04d04f40f8e31 (patch)
tree2052b89af2841d1914b9b50b711e1ae00115ec52 /paramiko/client.py
parent6dd47a677e0e919c4c10c3fed3a4173e9c49199c (diff)
downloadparamiko-29c87db1c88dc8188f3084ac29e04d04f40f8e31.tar.gz
Fixing invoke_shell reference to obsolete update_environment_variables
Diffstat (limited to 'paramiko/client.py')
-rw-r--r--paramiko/client.py2
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