misc: pylint fix no-else-continu (#52222)

This commit is contained in:
Lauréline Guérin 2021-03-22 15:05:58 +01:00
parent 39034b7de1
commit bcc6a9bc2f
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 1 deletions

View File

@ -2949,7 +2949,7 @@ class SendmailWorkflowStatusItem(WorkflowStatusItem):
if isinstance(dest, list):
addresses.extend(dest)
continue
elif isinstance(dest, str) and ',' in dest:
if isinstance(dest, str) and ',' in dest:
# if the email contains a comma consider it as a serie of
# emails
addresses.extend([x.strip() for x in dest.split(',')])