Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Sep 20, 2024
1 parent 8b7d2d5 commit ca4b975
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 4 additions & 1 deletion src/iosanita/contenttypes/events/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@
{
"id": "modulistica",
"title": "Modulistica",
"allowed_types": ("File", "Link",),
"allowed_types": (
"File",
"Link",
),
},
{
"id": "allegati",
Expand Down
6 changes: 2 additions & 4 deletions src/iosanita/contenttypes/restapi/controlpanel.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from iosanita.contenttypes.interfaces import IIosanitaContenttypesLayer
from iosanita.contenttypes.interfaces.settings import (
IIoSanitaContenttypesSettings,
IIoSanitaContenttypesSettingsControlpanel,
)
from iosanita.contenttypes.interfaces.settings import IIoSanitaContenttypesSettings
from iosanita.contenttypes.interfaces.settings import IIoSanitaContenttypesSettingsControlpanel
from plone.restapi.controlpanels import RegistryConfigletPanel
from zope.component import adapter
from zope.interface import implementer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
from iosanita.contenttypes.interfaces import IIosanitaContenttypesLayer
from plone.dexterity.interfaces import IDexterityContent
from plone.restapi.interfaces import IFieldSerializer
from plone.restapi.serializer.relationfield import (
RelationListFieldSerializer as BaseSerializer,
)
from plone.restapi.serializer.relationfield import RelationListFieldSerializer as BaseSerializer
from z3c.relationfield.interfaces import IRelationList
from zope.component import adapter
from zope.interface import implementer
Expand Down

0 comments on commit ca4b975

Please sign in to comment.