diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2016-12-01 14:03:34 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2016-12-05 18:45:27 -0800 |
commit | a506b2b3a12ce657011cce27784b24442c56c1ca (patch) | |
tree | 7405cb36a36ab890b8074918f0a78b3fa6189268 | |
parent | af455259c15edb38239083314a8b9e91cd0d3f06 (diff) |
Don't expect reply to env-setting messages.
Re #398
-rw-r--r-- | paramiko/channel.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/paramiko/channel.py b/paramiko/channel.py index 3b6a59df..52b5d849 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -330,12 +330,10 @@ class Channel (ClosingContextManager): m.add_byte(cMSG_CHANNEL_REQUEST) m.add_int(self.remote_chanid) m.add_string('env') - m.add_boolean(True) + m.add_boolean(False) m.add_string(name) m.add_string(value) - self._event_pending() self.transport._send_user_message(m) - self._wait_for_event() def exit_status_ready(self): """ |