From 4ef4b0fc375a7d0598af21a8cec36c1bf27ac963 Mon Sep 17 00:00:00 2001 From: Paul Sherwood Date: Mon, 23 Jan 2017 09:13:35 +0000 Subject: More debug --- ybd/sandbox.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ybd/sandbox.py b/ybd/sandbox.py index 3cf46a9..b92595f 100644 --- a/ybd/sandbox.py +++ b/ybd/sandbox.py @@ -238,7 +238,9 @@ def run_extension(dn, deployment, step, method): cmd_tmp.close() os.chmod(cmd_tmp.name, 0o700) call(['ls', '-lsa', tempfile.tempdir]) - app.log(dn, 'about to run call with command', command) + app.log(dn, 'Now we cat', cmd_tmp.name) + call(['cat', cmd_tmp.name]) + app.log(dn, 'Now we run call(%s)' % command) if call(command): app.log(dn, 'ERROR: %s extension failed:' % step, cmd_bin) -- cgit v1.2.1