Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
markj0hnst0n committed Dec 16, 2024
1 parent 0475b68 commit aad8a7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mail/icms/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

0 comments on commit aad8a7b

Please sign in to comment.