Skip to content

Commit

Permalink
blacked
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-andreotti committed Jul 9, 2024
1 parent ab774e3 commit 3bbe201
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/iosanita/contenttypes/indexers/news.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ def news_service(context, **kw):
@indexer(INewsItem)
def news_venue(context, **kw):
strutture = context.strutture_correlate
return [struttura.UID() for struttura in filter(bool, [x.to_object for x in strutture])]
return [
struttura.UID() for struttura in filter(bool, [x.to_object for x in strutture])
]
3 changes: 2 additions & 1 deletion src/iosanita/contenttypes/restapi/services/types/get.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
from iosanita.contenttypes import _

# from iosanita.contenttypes.controlpanels.geolocation_defaults import (
# IGeolocationDefaults,
# )
from plone import api
# from plone import api
from plone.restapi.services.types.get import TypesGet as BaseGet
from zope.i18n import translate
from zope.interface import implementer
Expand Down

0 comments on commit 3bbe201

Please sign in to comment.