From e809e1f262eda900e70ccf4cf0d6e4e228324b80 Mon Sep 17 00:00:00 2001 From: jacobtoppm Date: Tue, 31 Mar 2020 16:58:27 +0100 Subject: [PATCH] Formatting --- wagtail/admin/mail.py | 2 +- wagtail/core/workflows.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wagtail/admin/mail.py b/wagtail/admin/mail.py index a23f5695c1..53e499b9bf 100644 --- a/wagtail/admin/mail.py +++ b/wagtail/admin/mail.py @@ -230,7 +230,7 @@ class EmailNotificationMixin: sent_count = 0 try: with OpenedConnection(connection) as open_connection: - + # Send emails for recipient in recipients: try: diff --git a/wagtail/core/workflows.py b/wagtail/core/workflows.py index a6967d233d..5c63499137 100644 --- a/wagtail/core/workflows.py +++ b/wagtail/core/workflows.py @@ -3,6 +3,7 @@ from wagtail.core.models import Task TASK_TYPES = [] + def get_concrete_descendants(model_class, inclusive=True): """Retrieves non-abstract descendants of the given model class. If `inclusive` is set to True, includes model_class"""