diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-03-11 17:49:06 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-03-14 10:54:55 +0000 |
commit | 4171217354a01c6492ce6160bbf4aaaf7326bdf1 (patch) | |
tree | 252c2fc19b03d27c6cbcb96c7bcb463a0a09bc36 | |
parent | 439f278b2048ef20f7b0f953ed45feed50d73120 (diff) | |
download | morph-4171217354a01c6492ce6160bbf4aaaf7326bdf1.tar.gz |
deploy: Make extension output display which it is
This also makes it obey status prefix
-rw-r--r-- | morphlib/plugins/deploy_plugin.py | 3 |
1 files changed, 2 insertions, 1 deletions
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: |