diff options
author | Stevan Radakovic <stevan.radakovic@linaro.org> | 2012-07-03 17:24:06 +0200 |
---|---|---|
committer | Stevan Radakovic <stevan.radakovic@linaro.org> | 2012-07-03 17:24:06 +0200 |
commit | 61d957912b7d827fb5da41fb8ebf2609d7b841bb (patch) | |
tree | 2ecf404aa39a51d8afd942fd961e0541123a7962 | |
parent | dc7955b1f9a2e4a23848aa405f87a7f70b03014e (diff) |
Removing commented lines and adding better description.
-rw-r--r-- | linaro-ami/remote_executor.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/linaro-ami/remote_executor.py b/linaro-ami/remote_executor.py index 32e8ceb..924761c 100644 --- a/linaro-ami/remote_executor.py +++ b/linaro-ami/remote_executor.py @@ -25,10 +25,8 @@ class RemoteExecutor: def execute(self, command): """Execute a command remotely, returns output from that command.""" - # Safety measure against scripts which may expect something on stdin - # and thus hang. Let them get EPIPE "Broken pipe" instead. - #stdin.channel.close() - #stdin.close() + # Creating transport and channel objects provided by paramiko + # library to execute script remotely and return output. transport = self.client.get_transport() channel = transport.open_session() output_stream = channel.makefile() |