[Erp5-report] r39455 nicolas.dumazet - /erp5/trunk/products/ERP5Type/dynamic/lazy_class.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Oct 22 04:45:25 CEST 2010
Author: nicolas.dumazet
Date: Fri Oct 22 04:45:23 2010
New Revision: 39455
URL: http://svn.erp5.org?rev=39455&view=rev
Log:
__getstate__ and __getnewargs__ should not require getting out of Ghost state as they're defined on Base
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=39455&r1=39454&r2=39455&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] Fri Oct 22 04:45:23 2010
@@ -60,6 +60,8 @@ def generateLazyPortalTypeClass(portal_t
will change after the first call.
"""
if attr in ('__class__',
+ '__getnewargs__',
+ '__getstate__',
'__dict__',
'__module__',
'__name__',
More information about the Erp5-report
mailing list