mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-30 08:13:27 +02:00
code reformatting
This commit is contained in:
parent
3243399d26
commit
46b6467fca
1 changed files with 1 additions and 4 deletions
|
@ -74,7 +74,6 @@ class Command(BaseCommand):
|
||||||
# an error getting the domain, skip this domain and add it to
|
# an error getting the domain, skip this domain and add it to
|
||||||
# domains_with_errors
|
# domains_with_errors
|
||||||
try:
|
try:
|
||||||
domain = Domain.objects.get(name=transition_domain.domain_name)
|
|
||||||
# if prior username does not match current username
|
# if prior username does not match current username
|
||||||
if (
|
if (
|
||||||
not email_context["email"]
|
not email_context["email"]
|
||||||
|
@ -86,9 +85,7 @@ class Command(BaseCommand):
|
||||||
self.emails_to_send.append(copy.deepcopy(email_context))
|
self.emails_to_send.append(copy.deepcopy(email_context))
|
||||||
email_context["domains"] = []
|
email_context["domains"] = []
|
||||||
email_context["email"] = transition_domain.username
|
email_context["email"] = transition_domain.username
|
||||||
email_context["domains"].append(
|
email_context["domains"].append(transition_domain.domain_name)
|
||||||
transition_domain.domain_name
|
|
||||||
)
|
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
# error condition if domain not in database
|
# error condition if domain not in database
|
||||||
self.domains_with_errors.append(
|
self.domains_with_errors.append(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue