mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 16:02:15 +02:00
removed duplicate names and slight formatting for print statements
This commit is contained in:
parent
85c6aa348e
commit
9cd9b97e87
1 changed files with 1 additions and 3 deletions
|
@ -25,12 +25,10 @@ ALLOWED_PORTFOLIOS = [
|
|||
"Department of the Treasury",
|
||||
"National Archives and Records Administration",
|
||||
"Department of Defense",
|
||||
"Department of Defense",
|
||||
"Office of Personnel Management",
|
||||
"National Aeronautics and Space Administration",
|
||||
"City and County of San Francisco",
|
||||
"State of Arizona, Executive Branch",
|
||||
"State of Arizona, Executive Branch",
|
||||
"Department of the Interior",
|
||||
"Department of State",
|
||||
"Department of Justice",
|
||||
|
@ -205,7 +203,7 @@ class Command(BaseCommand):
|
|||
for suborg in suborganizations:
|
||||
DomainInformation.objects.filter(sub_organization=suborg).update(sub_organization=None)
|
||||
DomainRequest.objects.filter(sub_organization=suborg).update(sub_organization=None)
|
||||
portfolio_summary.append(f"{suborg.name}\n")
|
||||
portfolio_summary.append(f"{suborg.name}")
|
||||
suborg.delete()
|
||||
|
||||
portfolio.delete()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue