summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-03-07 09:22:59 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2016-03-07 09:22:59 +0000
commite6af454e83f6f7963d8e434e730cc9b9d7548559 (patch)
tree24796623803363b56411d415bcf349d88b6f101e
parent493a3b16ff3736c7b0c2039399dddbae4dae8fd0 (diff)
downloadybd-e6af454e83f6f7963d8e434e730cc9b9d7548559.tar.gz
Many chunks have no 'kind'
-rw-r--r--ybd/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd/cache.py b/ybd/cache.py
index c855b01..3e14da9 100644
--- a/ybd/cache.py
+++ b/ybd/cache.py
@@ -131,7 +131,7 @@ def cache(defs, this):
if app.config.get('kbas-password', 'insecure') != 'insecure' and \
app.config.get('kbas-url') is not None:
- if this.get('kind') in ['chunk', 'stratum']:
+ if this.get('kind', 'chunk') in ['chunk', 'stratum']:
with app.timer(this, 'upload'):
upload(defs, this)