aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-23 18:12:34 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-23 18:12:34 -0800
commitf6c4bd65c104e3a728e94561be80242cf35cbea3 (patch)
tree070e66ba045219ebd280667f5a9df57ad858867b /python/fatcat_tools
parentd56183b407c030fe4e9ba25da7916dad6f51d71c (diff)
downloadfatcat-f6c4bd65c104e3a728e94561be80242cf35cbea3.tar.gz
fatcat-f6c4bd65c104e3a728e94561be80242cf35cbea3.zip
mergers: small tweaks
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/mergers/common.py4
-rw-r--r--python/fatcat_tools/mergers/files.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_tools/mergers/common.py b/python/fatcat_tools/mergers/common.py
index 1aaf357d..05433748 100644
--- a/python/fatcat_tools/mergers/common.py
+++ b/python/fatcat_tools/mergers/common.py
@@ -76,8 +76,8 @@ class EntityMerger(EntityImporter):
evidence: Optional[dict]
# can be anything, entity- or merger-specific
# some variables might be...
- dupe_extid: str
- dupe_extid_type: str
+ extid: str
+ extid_type: str
Returns nothing.
"""
diff --git a/python/fatcat_tools/mergers/files.py b/python/fatcat_tools/mergers/files.py
index 4bc8bb81..32c7fcb6 100644
--- a/python/fatcat_tools/mergers/files.py
+++ b/python/fatcat_tools/mergers/files.py
@@ -106,7 +106,7 @@ class FileMerger(EntityMerger):
evidence: Optional[Dict[str, Any]] = None,
) -> int:
- # currently requires for extid validation
+ # currently required for extid validation
if not evidence or not (evidence.get("extid_type") and evidence.get("extid")):
self.counts["skip-missing-evidence"] += 1
return 0