[Erp5-report] r18909 - /erp5/trunk/products/CMFCategory/CategoryTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jan 29 18:45:32 CET 2008
Author: vincent
Date: Tue Jan 29 18:45:32 2008
New Revision: 18909
URL: http://svn.erp5.org?rev=18909&view=rev
Log:
Use getPhysicalPath. Although it might be slower that getUid, it's part of Zope low-level API and is available on any object.
Modified:
erp5/trunk/products/CMFCategory/CategoryTool.py
Modified: erp5/trunk/products/CMFCategory/CategoryTool.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFCategory/CategoryTool.py?rev=18909&r1=18908&r2=18909&view=diff
==============================================================================
--- erp5/trunk/products/CMFCategory/CategoryTool.py (original)
+++ erp5/trunk/products/CMFCategory/CategoryTool.py Tue Jan 29 18:45:32 2008
@@ -839,7 +839,7 @@
spec=(), filter=None, acquired_object_dict = None, **kw ):
cache = getReadOnlyTransactionCache(self)
if cache is not None:
- key = ('getSingleCategoryAcquiredMembershipList', context.getUid(), base_category, base, spec,
+ key = ('getSingleCategoryAcquiredMembershipList', context.getPhysicalPath(), base_category, base, spec,
filter, str(kw))
try:
return cache[key]
More information about the Erp5-report
mailing list