From 9fd40cd52cd203b52fae6d8189af3a65bb8e9cb1 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Tue, 10 Dec 2024 13:46:13 +0000 Subject: [PATCH] uniform logging --- .../management/commands/ensure_identity_traits_blanks.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/api/edge_api/management/commands/ensure_identity_traits_blanks.py b/api/edge_api/management/commands/ensure_identity_traits_blanks.py index 78f70d22365f..0ec72fdd1cfa 100644 --- a/api/edge_api/management/commands/ensure_identity_traits_blanks.py +++ b/api/edge_api/management/commands/ensure_identity_traits_blanks.py @@ -48,4 +48,11 @@ def handle(self, *args: Any, **options: Any) -> None: f"scanned={scanned_count}/{total_count}" f"percentage={scanned_count/total_count*100:.2f}" ) - self.stdout.write(self.style.SUCCESS("Finished.")) + + self.stdout.write( + self.style.SUCCESS( + "finished" + f"scanned={scanned_count}/{total_count}" + f"percentage={scanned_count/total_count*100:.2f}" + ) + )