Skip to content

Commit

Permalink
remove leftovers for Plone 4 BBB while at it
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jul 12, 2023
1 parent 059a01b commit 7431d0f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/plone/restapi/types/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from plone.dexterity.interfaces import IDexterityContent
from plone.dexterity.interfaces import IDexterityFTI
from plone.dexterity.utils import getAdditionalSchemata
from plone.dexterity.schema import splitSchemaName
from plone.i18n.normalizer import idnormalizer
from plone.restapi.interfaces import IFieldDeserializer
from plone.restapi.serializer.converters import IJsonCompatible
Expand All @@ -43,13 +44,6 @@
from zope.interface import implementer
from zope.schema.interfaces import IVocabularyFactory

try:
# Plone 5.1+
from plone.dexterity.schema import splitSchemaName
except ImportError:
# Plone 4.3
from plone.dexterity.utils import splitSchemaName

if HAS_MULTILINGUAL:
from plone.app.multilingual.dx.interfaces import MULTILINGUAL_KEY

Expand Down

0 comments on commit 7431d0f

Please sign in to comment.