diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-03-14 18:01:10 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-03-27 11:53:02 +0000 |
commit | b91778ae05e51d4b15e49192347c25d1935e7408 (patch) | |
tree | 5589b0f97e231158970385ce63e65e99251b4cef | |
parent | 170e102c128addc4d30d0d087008dcf7eda65535 (diff) | |
download | morph-b91778ae05e51d4b15e49192347c25d1935e7408.tar.gz |
Add note and remove noise from build-graph
Change-Id: Ie516298418d71eedfa386cebecab06b58757e4a7
-rw-r--r-- | gear/worker.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gear/worker.py b/gear/worker.py index d5304354..f7cb9d28 100644 --- a/gear/worker.py +++ b/gear/worker.py @@ -23,6 +23,7 @@ def ssh_manager(host, port, username, key): returns -> ssh connection ready to be used ''' + # TODO: use an ssh key!!! It isn't working client = paramiko.client.SSHClient() client.load_host_keys(key) client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) @@ -73,9 +74,6 @@ while True: p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True) output = p.stdout.read() # TODO: catch errors calculating build-graph here instead of sending the error as build-graph :) - print "=====" - print output - print "=====" print "DEBUG: finished computing build graph" job.sendWorkComplete(output) elif job.name == "build-artifact": |