mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 08:50:01 +02:00
Add comment to jumpstart deploy
This commit is contained in:
parent
08521353a4
commit
ee76372a19
1 changed files with 4 additions and 2 deletions
|
@ -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.
|
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.
|
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:
|
if get_domain_managers:
|
||||||
for i in range(1, max_dm_count + 1):
|
for i in range(1, max_dm_count + 1):
|
||||||
columns.append(f"Domain manager email {i}")
|
columns.append(f"Domain manager email {i}")
|
||||||
|
|
||||||
writer.writerow("hello")
|
writer.writerow("hellotesting123")
|
||||||
writer.writerow(columns)
|
writer.writerow(columns)
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,7 +98,7 @@ def parse_row(columns, domain_info: DomainInformation, get_domain_managers, secu
|
||||||
"First ready": domain.first_ready,
|
"First ready": domain.first_ready,
|
||||||
"Deleted": domain.deleted,
|
"Deleted": domain.deleted,
|
||||||
}
|
}
|
||||||
|
|
||||||
if get_domain_managers:
|
if get_domain_managers:
|
||||||
# Get each domain managers email and add to list
|
# Get each domain managers email and add to list
|
||||||
dm_emails = [dm.email for dm in domain.permissions]
|
dm_emails = [dm.email for dm in domain.permissions]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue