[Erp5-report] r42817 nicolas.dumazet - /erp5/trunk/products/ERP5Type/dynamic/lazy_class.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 31 14:33:29 CET 2011


Author: nicolas.dumazet
Date: Mon Jan 31 14:33:29 2011
New Revision: 42817

URL: http://svn.erp5.org?rev=42817&view=rev
Log:
this list is in fact a tuple

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=42817&r1=42816&r2=42817&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dynamic/lazy_class.py [utf8] Mon Jan 31 14:33:29 2011
@@ -222,14 +222,14 @@ class PortalTypeMetaClass(GhostBaseMetaC
         LOG("ERP5Type.Dynamic", WARNING,
             "Could not access Portal Type Object for type %r"
             % portal_type, error=sys.exc_info())
-        base_list = (ERP5BaseBroken, )
+        base_tuple = (ERP5BaseBroken, )
         attribute_dict = {}
         interface_list = []
       else:
-        base_list, interface_list, attribute_dict = class_definition
+        base_tuple, interface_list, attribute_dict = class_definition
 
       klass.__isghost__ = False
-      klass.__bases__ = base_list
+      klass.__bases__ = base_tuple
 
       for key, value in attribute_dict.iteritems():
         setattr(klass, key, value)



More information about the Erp5-report mailing list