Update create_federal_portfolio.py

This commit is contained in:
zandercymatics 2024-08-29 11:34:35 -06:00
parent b27913f124
commit 12eab5c44f
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -195,7 +195,6 @@ class Command(BaseCommand):
if not domain_infos.exists(): if not domain_infos.exists():
message = "Portfolios not added to domains: no valid records found" message = "Portfolios not added to domains: no valid records found"
TerminalHelper.colorful_logger(logger.info, TerminalColors.YELLOW, message) TerminalHelper.colorful_logger(logger.info, TerminalColors.YELLOW, message)
return
else: else:
for domain_info in domain_infos: for domain_info in domain_infos:
domain_info.portfolio = portfolio domain_info.portfolio = portfolio