Commit 170da824 authored by Romain Courteaud's avatar Romain Courteaud

ERP5Type/RelatedAccessor: fix catalog warning for discarded empty values

parent e6f788f7
Pipeline #11951 failed with stage
in 0 seconds
......@@ -60,7 +60,7 @@ class DefaultGetter(BaseGetter):
self._key, 'relative_url',
spec=kw.get('spec',()),
filter=kw.get('filter', None),
portal_type=kw.get('portal_type',()),
portal_type=kw.get('portal_type', None),
checked_permission=kw.get('checked_permission', None))
psyco.bind(__call__)
......@@ -95,7 +95,7 @@ class ListGetter(BaseGetter):
self._key, 'relative_url',
spec=kw.get('spec',()),
filter=kw.get('filter', None),
portal_type=kw.get('portal_type',()),
portal_type=kw.get('portal_type', None),
checked_permission=kw.get('checked_permission', None))
psyco.bind(__call__)
......
......@@ -64,7 +64,7 @@ class DefaultGetter(BaseGetter):
self._key,
spec=kw.get('spec',()),
filter=kw.get('filter', None),
portal_type=kw.get('portal_type',()),
portal_type=kw.get('portal_type', None),
strict_membership=kw.get('strict_membership',
# 'strict' is deprecated
kw.get('strict', None)),
......@@ -142,7 +142,7 @@ class DefaultPropertyGetter(BaseGetter):
self._key, key,
spec=kw.get('spec',()),
filter=kw.get('filter', None),
portal_type=kw.get('portal_type',()),
portal_type=kw.get('portal_type', None),
strict_membership=kw.get('strict_membership',
# 'strict' is deprecated
kw.get('strict', None)),
......@@ -179,7 +179,7 @@ class PropertyListGetter(BaseGetter):
self._key, key,
spec=kw.get('spec',()),
filter=kw.get('filter', None),
portal_type=kw.get('portal_type',()),
portal_type=kw.get('portal_type', None),
strict_membership=kw.get('strict_membership',
# 'strict' is deprecated
kw.get('strict', None)),
......
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