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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 28 18:04:25 CEST 2009


Author: luke
Date: Tue Apr 28 18:04:23 2009
New Revision: 26687

URL: http://svn.erp5.org?rev=26687&view=rev
Log:
 - do not pass context to other methods

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=26687&r1=26686&r2=26687&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessPath.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessPath.py [utf8] Tue Apr 28 18:04:23 2009
@@ -135,7 +135,7 @@
       Overriden in order to take into account dynamic arrow
       categories
     """
-    context = kw.get('context')
+    context = kw.pop('context', None)
     result = Path._getAcquiredCategoryMembershipList(self, category, **kw)
     if context is not None:
       dynamic_category_list = self._getDynamicCategoryList(context)




More information about the Erp5-report mailing list