Commit 78d2b9d1 authored by Jérome Perrin's avatar Jérome Perrin

fixup! core: fixes for pylint

parent 2d00dee5
......@@ -12,4 +12,4 @@ else:
# kw can contain limit, sort_on and similar runtime information
object_list = [x.getObject() for x in context.portal_catalog(uid=uid, **kw)]
# only docs WITHOUT relations can be deleted
return [x for x in object_list if x.getRelationCountForDeletion() == 0]
return [x for x in object_list if x.getRelationCountForDeletion() == 0]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment