removed duplicate names and slight formatting for print statements

This commit is contained in:
CocoByte 2025-01-24 12:25:46 -07:00
parent 85c6aa348e
commit 9cd9b97e87
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F

View file

@ -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()