mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 17:47:02 +02:00
Minor edits to not use kwargs and lint
This commit is contained in:
parent
025a128bae
commit
6d63c9f868
2 changed files with 19 additions and 10 deletions
|
@ -1973,7 +1973,9 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
|||
if domain_request.action_needed_reason == enum_value and domain_request.action_needed_reason_email:
|
||||
custom_text = domain_request.action_needed_reason_email
|
||||
|
||||
emails[enum_value] = self._get_action_needed_reason_default_email(domain_request, enum_value, custom_text)
|
||||
emails[enum_value] = self._get_action_needed_reason_default_email(
|
||||
domain_request, enum_value, custom_text
|
||||
)
|
||||
return json.dumps(emails)
|
||||
|
||||
def _get_action_needed_reason_default_email(self, domain_request, action_needed_reason, custom_text=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue