From f6c4bd65c104e3a728e94561be80242cf35cbea3 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 23 Nov 2021 18:12:34 -0800 Subject: mergers: small tweaks --- python/fatcat_tools/mergers/common.py | 4 ++-- python/fatcat_tools/mergers/files.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'python/fatcat_tools/mergers') 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 -- cgit v1.2.3