summaryrefslogtreecommitdiffstats
path: root/extra/elasticsearch/transform_release.py
diff options
context:
space:
mode:
Diffstat (limited to 'extra/elasticsearch/transform_release.py')
-rwxr-xr-xextra/elasticsearch/transform_release.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/elasticsearch/transform_release.py b/extra/elasticsearch/transform_release.py
index 2f67977e..ae9a709e 100755
--- a/extra/elasticsearch/transform_release.py
+++ b/extra/elasticsearch/transform_release.py
@@ -59,7 +59,7 @@ def transform(m):
t['file_in_webarchive'] = in_wa
t['file_in_ia'] = in_ia
- extra = m.get('extra')
+ extra = m.get('extra', dict())
if extra:
t['in_shadow'] = extra.get('in_shadow')
t['any_abstract'] = bool(t.get('abstracts'))