aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/workers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-02 18:18:33 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-02 18:18:33 -0700
commitee6b1113be1d703bb4cb160304f91b373e91ee7e (patch)
treed113b6697fcf1e41a18588f808320032852155f7 /python/fatcat_tools/workers
parent31d1a6a713d177990609767d508209ced19ca396 (diff)
downloadfatcat-ee6b1113be1d703bb4cb160304f91b373e91ee7e.tar.gz
fatcat-ee6b1113be1d703bb4cb160304f91b373e91ee7e.zip
re-fix some lint issues after big 'fmt'
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)