Page MenuHomeSoftware Heritage

D1062.id.diff
No OneTemporary

D1062.id.diff

diff --git a/swh/indexer/metadata_dictionary.py b/swh/indexer/metadata_dictionary.py
--- a/swh/indexer/metadata_dictionary.py
+++ b/swh/indexer/metadata_dictionary.py
@@ -202,7 +202,8 @@
except json.JSONDecodeError:
self.log.warning('Error unjsoning from %s', self.log_suffix)
return
- return self.translate_dict(content_dict)
+ if isinstance(content_dict, dict):
+ return self.translate_dict(content_dict)
@register_mapping

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 24, 5:02 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3227263

Event Timeline