From ee76372a19ee90aed70cfa47745527037d99de26 Mon Sep 17 00:00:00 2001 From: Rebecca Hsieh Date: Mon, 12 Feb 2024 10:16:45 -0800 Subject: [PATCH] Add comment to jumpstart deploy --- src/registrar/utility/csv_export.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/registrar/utility/csv_export.py b/src/registrar/utility/csv_export.py index fa252112d..9ffbb057c 100644 --- a/src/registrar/utility/csv_export.py +++ b/src/registrar/utility/csv_export.py @@ -19,11 +19,13 @@ def write_header(writer, columns, max_dm_count, get_domain_managers): Receives params from the parent methods and outputs a CSV with a header row. Works with write_header as long as the same writer object is passed. """ + + # If we have domain managers, set column title dynamically here if get_domain_managers: for i in range(1, max_dm_count + 1): columns.append(f"Domain manager email {i}") - writer.writerow("hello") + writer.writerow("hellotesting123") writer.writerow(columns) @@ -96,7 +98,7 @@ def parse_row(columns, domain_info: DomainInformation, get_domain_managers, secu "First ready": domain.first_ready, "Deleted": domain.deleted, } - + if get_domain_managers: # Get each domain managers email and add to list dm_emails = [dm.email for dm in domain.permissions]