summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-06-13 22:05:21 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-06-13 22:05:21 +0100
commit3cd67d785a8fa43b0650f58ca8be5fadb9dd9cf7 (patch)
treedfe9ada826b580b4ce5e157030f6857c8824ebbb
parent815ee7d4d4b16f3a4dfaaf3c94b376d292c794e8 (diff)
downloadybd-3cd67d785a8fa43b0650f58ca8be5fadb9dd9cf7.tar.gz
Always log counts16.24
-rwxr-xr-xybd/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ybd/__main__.py b/ybd/__main__.py
index 7b88fc6..6c656ff 100755
--- a/ybd/__main__.py
+++ b/ybd/__main__.py
@@ -54,7 +54,7 @@ def write_cache_key():
with open(config['result-file'], 'w') as f:
f.write(target['cache'] + '\n')
for kind in ['systems', 'strata', 'chunks']:
- log('RESULT', '%s has %s %s' % (config['target'], config[kind], kind))
+ log('COUNT', '%s has %s %s' % (config['target'], config[kind], kind))
log('RESULT', 'Cache-key for target is at', config['result-file'])
@@ -92,8 +92,8 @@ with timer('TOTAL'):
exit('ARCH', 'ERROR: no definitions found for', config['arch'])
app.defs.save_trees()
+ write_cache_key()
if config.get('mode', 'normal') == 'keys-only':
- write_cache_key()
os._exit(0)
cache.cull(config['artifacts'])