fix: name the corrections an export withholds

This commit is contained in:
Abdessamad Derraz committed 2026-10-18 14:32:30 +02:00
1 parent 2173db889b
commit 76d3c987d4
4 files changed
+30

No files matched your search

+4
View File
@@ -433,7 +433,11 @@ def export_platform(
summary += f", {refused} the format cannot state"
if lost:
summary += f", {lost} of theirs dropped"
withheld = exporter.withheld()
if withheld:
summary += f", {len(withheld)} corrections withheld"
messages.append(summary)
messages.extend(f"withheld: {reason}" for reason in withheld)
for correction in applied[:5]:
messages.append(f"hash corrected: {correction}")
if len(applied) > 5: