Minor edits to not use kwargs and lint

This commit is contained in:
zandercymatics 2024-07-12 11:59:36 -06:00
parent 025a128bae
commit 6d63c9f868
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 19 additions and 10 deletions

View file

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