[Erp5-report] r42364 nicolas.dumazet - /erp5/trunk/products/ERP5Type/dynamic/lazy_class.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Jan 17 03:51:05 CET 2011
Author: nicolas.dumazet
Date: Mon Jan 17 03:51:05 2011
New Revision: 42364
URL: http://svn.erp5.org?rev=42364&view=rev
Log:
make sure that ghost portal type classes have a correct portal_type attribute
Modified:
erp5/trunk/products/ERP5Type/dynamic/lazy_class.py
Modified: erp5/trunk/products/ERP5Type/dynamic/lazy_class.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dynamic/lazy_class.py?rev=42364&r1=42363&r2=42364&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] Mon Jan 17 03:51:05 2011
@@ -227,4 +227,6 @@ class PortalTypeMetaClass(GhostBaseMetaC
ERP5Base.aq_method_lock.release()
def generateLazyPortalTypeClass(portal_type_name):
- return PortalTypeMetaClass(portal_type_name, (InitGhostBase,), {})
+ return PortalTypeMetaClass(portal_type_name,
+ (InitGhostBase,),
+ dict(portal_type=portal_type_name))
More information about the Erp5-report
mailing list