From 4171217354a01c6492ce6160bbf4aaaf7326bdf1 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Tue, 11 Mar 2014 17:49:06 +0000 Subject: deploy: Make extension output display which it is This also makes it obey status prefix --- morphlib/plugins/deploy_plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py index 9f5891e0..41eb817f 100644 --- a/morphlib/plugins/deploy_plugin.py +++ b/morphlib/plugins/deploy_plugin.py @@ -526,7 +526,8 @@ class DeployPlugin(cliapp.Plugin): name=name, kind=kind) self.app.runcmd( [ext_filename] + args, - ['sh', '-c', 'while read l; do echo `date "+%F %T"` $l; done'], + ['sh', '-c', 'while read l; do echo `date "+%F %T"` "$1$l"; done', + '-', '%s[%s]' % (self.app.status_prefix, name + kind)], cwd=gd.dirname, env=env, stdout=None, stderr=None) if delete_ext: -- cgit v1.2.1