aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-24 13:47:15 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-24 13:47:15 -0700
commit946fe6872e068de0694040bc04bb0ddf5d5c13b6 (patch)
tree822bef3346dcb0f18bdb49d2611d810cdab6b589 /python/fatcat_tools
parent7104e6dfb99717353e3819853ae61ac6387a02a1 (diff)
downloadfatcat-946fe6872e068de0694040bc04bb0ddf5d5c13b6.tar.gz
fatcat-946fe6872e068de0694040bc04bb0ddf5d5c13b6.zip
fix typo in typo
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/workers/changelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/workers/changelog.py b/python/fatcat_tools/workers/changelog.py
index a9673d29..789a97a4 100644
--- a/python/fatcat_tools/workers/changelog.py
+++ b/python/fatcat_tools/workers/changelog.py
@@ -128,7 +128,7 @@ class EntityUpdatesWorker(FatcatWorker):
# update release when a file changes
# TODO: fetch old revision as well, and only update
# releases for which list changed
- release_ids.extend(file_entity['release_ids'])
+ release_ids.extend(file_entity.release_ids or [])
file_dict = self.api.api_client.sanitize_for_serialization(file_entity)
file_producer.produce(
message=json.dumps(file_dict).encode('utf-8'),