aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/mergers
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-24 14:29:08 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-24 15:17:08 -0800
commit9588a6a1aa01900b0dc376981635db8b609919f5 (patch)
tree6c905f32742f6832553b847f57847560f9c1dc3b /python/fatcat_tools/mergers
parent8debf771c540b0bef7f4745195f8af87490917b0 (diff)
downloadfatcat-9588a6a1aa01900b0dc376981635db8b609919f5.tar.gz
fatcat-9588a6a1aa01900b0dc376981635db8b609919f5.zip
file merger: add content_scope to list of merged fields
Diffstat (limited to 'python/fatcat_tools/mergers')
-rw-r--r--python/fatcat_tools/mergers/files.py2
1 files changed, 1 insertions, 1 deletions
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