Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
eikichi18 committed Jan 25, 2024
1 parent d140732 commit a52b249
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 123 deletions.
4 changes: 1 addition & 3 deletions src/design/plone/contenttypes/indexers/servizio.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
@indexer(IServizio)
def service_venue(context, **kw):
luoghi = getattr(context, "dove_rivolgersi", [])
return [
luogo.UID() for luogo in filter(bool, [x.to_object for x in luoghi])
]
return [luogo.UID() for luogo in filter(bool, [x.to_object for x in luoghi])]


@indexer(IServizio)
Expand Down
Loading

0 comments on commit a52b249

Please sign in to comment.