mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Update patch_federal_agency_info.py
This commit is contained in:
parent
f8c3383840
commit
22450ed964
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class Command(BaseCommand):
|
|||
# After the update has happened, do a sweep of what we get back.
|
||||
# If the fields we expect to update are still None, then something is wrong.
|
||||
for di in corrected_domains:
|
||||
if domain_name in td_dict and td_dict.get(domain_name) is not None and di.federal_agency is None:
|
||||
if di not in self.di_skipped and di.federal_agency is None:
|
||||
logger.info(f"{TerminalColors.FAIL}Failed to update {di}{TerminalColors.ENDC}")
|
||||
self.di_failed_to_update.append(di)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue