Skip to content

Commit 0194100

Browse files
committed
black
1 parent 5fde709 commit 0194100

File tree

1 file changed

+1
-3
lines changed
  • src/design/plone/contenttypes/restapi/serializers

1 file changed

+1
-3
lines changed

src/design/plone/contenttypes/restapi/serializers/documento.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ def __call__(self, version=None, include_items=True):
5454
)
5555
# Una via alternativa era l'injection di fullobject nella request ma
5656
# mi pare una cosa cattiva da fare
57-
brain_moduli = [
58-
x for x in self.context.getFolderContents()
59-
]
57+
brain_moduli = [x for x in self.context.getFolderContents()]
6058
result["moduli_del_documento"] = []
6159
for brain in brain_moduli:
6260
modulo = brain.getObject()

0 commit comments

Comments
 (0)