From aad8a7b62ace43d8628dd147e99b8d9616055f40 Mon Sep 17 00:00:00 2001 From: "mark.j0hnst0n" Date: Mon, 16 Dec 2024 11:07:53 +0000 Subject: [PATCH] linting --- mail/icms/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail/icms/tasks.py b/mail/icms/tasks.py index f7a844b8..0db0e566 100644 --- a/mail/icms/tasks.py +++ b/mail/icms/tasks.py @@ -249,5 +249,6 @@ def _save_usage_data_email(usage_email: email.message.EmailMessage) -> None: def _check_for_file_errors(reply_email: email.message.EmailMessage) -> None: processor = LicenceReplyProcessor.load_from_mail(reply_email) + file_error = None if file_error in processor.file_errors: - raise EdifactFileError(f"Unable to process file due to the following errors: {error for file_error in processor.file_errors}") + raise EdifactFileError(f"Unable to process file due to the following errors: {error for error in processor.file_errors}")