diff options
Diffstat (limited to 'python/fatcat_tools/cleanups/file_short_wayback_ts.py')
-rw-r--r-- | python/fatcat_tools/cleanups/file_short_wayback_ts.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/fatcat_tools/cleanups/file_short_wayback_ts.py b/python/fatcat_tools/cleanups/file_short_wayback_ts.py index e2595912..bdd49f9b 100644 --- a/python/fatcat_tools/cleanups/file_short_wayback_ts.py +++ b/python/fatcat_tools/cleanups/file_short_wayback_ts.py @@ -119,6 +119,10 @@ class FileShortWaybackTimestampCleanup(EntityImporter): self.counts["skip-existing-not-found"] += 1 return False + if existing.state != "active": + self.counts["skip-existing-entity-state"] += 1 + return False + if existing.sha1 != fe.sha1: self.counts["skip-existing-mismatch"] += 1 return False |