[Erp5-report] r39424 yo - /erp5/trunk/products/ERP5Type/ERP5Type.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 21 10:43:43 CEST 2010


Author: yo
Date: Thu Oct 21 10:43:41 2010
New Revision: 39424

URL: http://svn.erp5.org?rev=39424&view=rev
Log:
Define its own _baseGetTypeClass to avoid a bootstrap issue.

Modified:
    erp5/trunk/products/ERP5Type/ERP5Type.py

Modified: erp5/trunk/products/ERP5Type/ERP5Type.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/ERP5Type.py?rev=39424&r1=39423&r2=39424&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/ERP5Type.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/ERP5Type.py [utf8] Thu Oct 21 10:43:41 2010
@@ -423,6 +423,10 @@ class ERP5TypeInformation(XMLObject,
       """Getter for 'type_base_category' property"""
       return list(self.base_category_list)
 
+    # XXX this is required for a bootstrap issue.
+    def _baseGetTypeClass(self):
+      return getattr(aq_base(self), 'type_class', None)
+
     security.declareProtected(Permissions.AccessContentsInformation,
                               'getTypeClass')
     def getTypeClass(self):




More information about the Erp5-report mailing list