mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
Formatting
This commit is contained in:
parent
6647825d13
commit
e809e1f262
@ -230,7 +230,7 @@ class EmailNotificationMixin:
|
||||
sent_count = 0
|
||||
try:
|
||||
with OpenedConnection(connection) as open_connection:
|
||||
|
||||
|
||||
# Send emails
|
||||
for recipient in recipients:
|
||||
try:
|
||||
|
@ -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"""
|
||||
|
Loading…
Reference in New Issue
Block a user