summaryrefslogtreecommitdiff
path: root/ybd/cache.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-05-12 08:17:00 +0100
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-05-12 08:17:00 +0100
commitdace4d18ad240719d3b80f1f8dd2e114da924756 (patch)
tree1052b97e8472de48abaa49e6254742c50d2f3cef /ybd/cache.py
parent6aa0ffb21feaccbd5cd6de5168a1e8a2eadbc691 (diff)
downloadybd-dace4d18ad240719d3b80f1f8dd2e114da924756.tar.gz
Disable splitting by default, because it's slower
Diffstat (limited to 'ybd/cache.py')
-rw-r--r--ybd/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd/cache.py b/ybd/cache.py
index 996275f..c1cea63 100644
--- a/ybd/cache.py
+++ b/ybd/cache.py
@@ -106,7 +106,7 @@ 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
+ if (app.config.get('default-splits', []) != [] and
definition.get('kind') == 'system'):
hash_factors['default-splits'] = app.config['default-splits']