[Erp5-report] r37446 jerome - /erp5/trunk/products/ERP5/Document/BusinessPath.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 3 16:45:19 CEST 2010


Author: jerome
Date: Tue Aug  3 16:45:18 2010
New Revision: 37446

URL: http://svn.erp5.org?rev=37446&view=rev
Log:
'context' is not in kw when indexing

Modified:
    erp5/trunk/products/ERP5/Document/BusinessPath.py

Modified: erp5/trunk/products/ERP5/Document/BusinessPath.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessPath.py?rev=37446&r1=37445&r2=37446&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessPath.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessPath.py [utf8] Tue Aug  3 16:45:18 2010
@@ -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




More information about the Erp5-report mailing list