Commit 5fd2546a authored by Jérome Perrin's avatar Jérome Perrin

'context' is not in kw when indexing


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37446 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 08b2e15a
......@@ -163,7 +163,7 @@ class BusinessPath(Path, Predicate):
Overridden in order to take into account dynamic arrow categories in case if no static
categories are set on Business Path
"""
context = kw.pop('context')
context = kw.pop('context', None)
result = Path._getCategoryMembershipList(self, category, **kw)
if len(result) > 0:
return result
......
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