aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/workers
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_tools/workers')
-rw-r--r--python/fatcat_tools/workers/elasticsearch.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/fatcat_tools/workers/elasticsearch.py b/python/fatcat_tools/workers/elasticsearch.py
index 0d75f964..989f7f5d 100644
--- a/python/fatcat_tools/workers/elasticsearch.py
+++ b/python/fatcat_tools/workers/elasticsearch.py
@@ -133,8 +133,9 @@ class ElasticsearchReleaseWorker(FatcatWorker):
key = entity.index
# might need to fetch from API
if not (
- entity.editgroup and entity.editgroup.editor
- ): # pylint: disable=no-member # (TODO)
+ entity.editgroup # pylint: disable=no-member # (TODO)
+ and entity.editgroup.editor # pylint: disable=no-member # (TODO)
+ ):
entity = api.get_changelog_entry(entity.index)
else:
key = entity.ident # pylint: disable=no-member # (TODO)