From 4a0ec948a3f8ff31fd88cb4f1d842b45ba6b94a7 Mon Sep 17 00:00:00 2001 From: Mikel Larreategi Date: Tue, 17 Oct 2023 17:32:10 +0200 Subject: [PATCH] adapt for Plone 4.3 --- src/plone/restapi/services/site/get.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plone/restapi/services/site/get.py b/src/plone/restapi/services/site/get.py index 377c2468ef..2617d377be 100644 --- a/src/plone/restapi/services/site/get.py +++ b/src/plone/restapi/services/site/get.py @@ -2,13 +2,16 @@ from plone.registry.interfaces import IRegistry from plone.restapi.interfaces import IExpandableElement from plone.restapi.services import Service -from Products.CMFPlone.utils import getSiteLogo from zope.component import adapter from zope.component import getMultiAdapter from zope.component import getUtility from zope.interface import implementer from zope.interface import Interface +try: + from Products.CMFPlone.utils import getSiteLogo +except ImportError: + getSiteLogo = None try: from Products.CMFPlone.interfaces import IImagingSchema except ImportError: