From 2ac2996e5d690ed113eee9574e4c43fa7e6fb0b1 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Wed, 10 Jan 2024 14:29:13 -0700 Subject: [PATCH] Make terminal output more readable --- .../management/commands/patch_federal_agency_info.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/registrar/management/commands/patch_federal_agency_info.py b/src/registrar/management/commands/patch_federal_agency_info.py index a04e59a55..35642c1bf 100644 --- a/src/registrar/management/commands/patch_federal_agency_info.py +++ b/src/registrar/management/commands/patch_federal_agency_info.py @@ -86,13 +86,14 @@ class Command(BaseCommand): # Get the domain names from TransitionDomain td_agencies = transition_domains.values_list("domain_name", "federal_agency").distinct() + human_readable_domain_names = list(domain_names) # Code execution will stop here if the user prompts "N" TerminalHelper.prompt_for_execution( system_exit_on_terminate=True, info_to_inspect=f""" ==Proposed Changes== - Number of DomainInformation objects to change: {len(domain_info_to_fix)} - The following DomainInformation objects will be modified: {domain_info_to_fix} + Number of DomainInformation objects to change: {len(human_readable_domain_names)} + The following DomainInformation objects will be modified: {human_readable_domain_names} """, prompt_title="Do you wish to patch federal_agency data?", )