from plone import api
from ploneintranet.patches import indexing  # noqa:F401
from ploneintranet.patches import membrane  # noqa:F401

# Import emailcompat32crlf to use its patch.
import emailcompat32crlf  # noqa

if not api.env.test_mode():
    from . import missing_plone_app_blob
    from plone.app.upgrade.utils import alias_module

    # plone.app.blob is needed for older CMFEditions version objects.
    alias_module("plone.app.blob", missing_plone_app_blob)
