From 946fe6872e068de0694040bc04bb0ddf5d5c13b6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 24 Jun 2019 13:47:15 -0700 Subject: fix typo in typo --- python/fatcat_tools/workers/changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/fatcat_tools') 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'), -- cgit v1.2.3