summaryrefslogtreecommitdiff
path: root/ybd/cache.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-05-10 12:27:18 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-05-10 12:27:23 +0100
commit3155ba963476042bc82c6feb94ab26f897138711 (patch)
tree631ecf2d685e9118f2c56becfbfcb840f2a7f8d6 /ybd/cache.py
parent0d2d04fd1b9db57eed6d91e9c54c121fc1c7a17d (diff)
downloadybd-3155ba963476042bc82c6feb94ab26f897138711.tar.gz
Only support split systems from artifact-version 3
Commit 779d3e70 broke the CI check of historic cache-keys
Diffstat (limited to 'ybd/cache.py')
-rw-r--r--ybd/cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ybd/cache.py b/ybd/cache.py
index 703c7b4..70c783c 100644
--- a/ybd/cache.py
+++ b/ybd/cache.py
@@ -106,9 +106,9 @@ def hash_factors(defs, definition):
hash_factors['default-build-systems'] = \
defs.defaults.build_systems.get(definition.get('build-system',
'manual'))
-
- if app.config.get('default-splits') and definition.get('kind') == 'system':
- hash_factors['default-splits'] = app.config['default-splits']
+ if (app.config.get('default-splits') and
+ definition.get('kind') == 'system'):
+ hash_factors['default-splits'] = app.config['default-splits']
return hash_factors