diff --git a/wagtail/wagtailembeds/embeds.py b/wagtail/wagtailembeds/embeds.py index da13cb6c26..9d2f6fcdc7 100644 --- a/wagtail/wagtailembeds/embeds.py +++ b/wagtail/wagtailembeds/embeds.py @@ -15,9 +15,14 @@ from wagtail.wagtailembeds.oembed_providers import get_oembed_provider from wagtail.wagtailembeds.models import Embed -class EmbedNotFoundException(Exception): pass -class EmbedlyException(Exception): pass -class AccessDeniedEmbedlyException(EmbedlyException): pass +class EmbedNotFoundException(Exception): + pass + +class EmbedlyException(Exception): + pass + +class AccessDeniedEmbedlyException(EmbedlyException): + pass def embedly(url, max_width=None, key=None):