[Erp5-report] r22296 - /erp5/trunk/products/ERP5/Document/WebSection.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Jul 6 16:26:06 CEST 2008
Author: jp
Date: Sun Jul 6 16:26:06 2008
New Revision: 22296
URL: http://svn.erp5.org?rev=22296&view=rev
Log:
Revert mistakenly removed lines.
Modified:
erp5/trunk/products/ERP5/Document/WebSection.py
Modified: erp5/trunk/products/ERP5/Document/WebSection.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/WebSection.py?rev=22296&r1=22295&r2=22296&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/WebSection.py (original)
+++ erp5/trunk/products/ERP5/Document/WebSection.py Sun Jul 6 16:26:06 2008
@@ -227,6 +227,9 @@
if cache is not None:
cache[key] = result
+ if result is not None:
+ result = result.__of__(self)
+
return result
security.declareProtected(Permissions.View, 'getDocumentValueList')
@@ -256,6 +259,9 @@
if cache is not None:
cache[key] = result
+ if result is not None:
+ result = [doc.__of__(self) for doc in result]
+
return result
security.declareProtected(Permissions.View, 'getPermanentURL')
More information about the Erp5-report
mailing list