From 9588a6a1aa01900b0dc376981635db8b609919f5 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 24 Nov 2021 14:29:08 -0800 Subject: file merger: add content_scope to list of merged fields --- python/fatcat_tools/mergers/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/fatcat_tools/mergers') diff --git a/python/fatcat_tools/mergers/files.py b/python/fatcat_tools/mergers/files.py index 30b31330..3efe85fd 100644 --- a/python/fatcat_tools/mergers/files.py +++ b/python/fatcat_tools/mergers/files.py @@ -70,7 +70,7 @@ class FileMerger(EntityMerger): """ updated = False # NOTE: intentionally not including sha1 here - for k in ["size", "mimetype", "sha256", "md5"]: + for k in ["size", "mimetype", "sha256", "md5", "content_scope"]: if not getattr(primary, k) and getattr(other, k): setattr(primary, k, getattr(other, k)) updated = True -- cgit v1.2.3