diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-05-07 10:03:20 +0100 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-05-07 10:03:20 +0100 |
commit | 26fb0e9135374121b10f2e1730953bd540ffc4b5 (patch) | |
tree | d19afa1103f25802c6e3819d51c79da483d9791b /ybd/sandbox.py | |
parent | 927643fa78b45db809493c0f91acdbf86981fdcf (diff) | |
download | ybd-26fb0e9135374121b10f2e1730953bd540ffc4b5.tar.gz |
Lose a few lines by adding 'verbose' flag
Diffstat (limited to 'ybd/sandbox.py')
-rw-r--r-- | ybd/sandbox.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ybd/sandbox.py b/ybd/sandbox.py index 6d93576..860814d 100644 --- a/ybd/sandbox.py +++ b/ybd/sandbox.py @@ -67,8 +67,7 @@ def setup(this): finally: pass - if app.config.get('log-verbose'): - app.log(this, "Removing sandbox dir", this['sandbox']) + app.log(this, "Removing sandbox dir", this['sandbox'], verbose=True) app.remove_dir(this['sandbox']) @@ -77,8 +76,7 @@ def install(defs, this, component): if os.path.exists(os.path.join(this['sandbox'], 'baserock', component['name'] + '.meta')): return - if app.config.get('log-verbose'): - app.log(this, 'Sandbox: installing %s' % component['cache']) + app.log(this, 'Sandbox: installing %s' % component['cache'], verbose=True) if cache.get_cache(defs, component) is False: app.exit(this, 'ERROR: unable to get cache for', component['name']) unpackdir = cache.get_cache(defs, component) + '.unpacked' |