From aed4a056adf595b184c0227a54aca780cd3a262e Mon Sep 17 00:00:00 2001 From: Bhavik Darji Date: Thu, 9 Jan 2025 18:07:49 +0000 Subject: [PATCH] [FIX] util/report: improve report categories for better precision Summary: This update improves the handling of report categories in the utility module to ensure they are more precise and well-organized. Reason for the Change: It was observed that the report categories were not sorted lexicographically in order, leading to a lack of precision and organization. To address this, the categories have been sorted lexicographically to enhance their clarity and structure. opw-4424140 --- src/util/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/report.py b/src/util/report.py index 2bd95364..2d7afa1e 100644 --- a/src/util/report.py +++ b/src/util/report.py @@ -136,7 +136,7 @@ def announce_migration_report(cr): "version": release.major_version, "major_version": major_version, "minor_version": minor_version, - "messages": migration_reports, + "messages": dict(sorted(migration_reports.items())), "get_anchor_link_to_record": get_anchor_link_to_record, } _logger.info(migration_reports)