[Erp5-report] r9299 - /erp5/trunk/products/ERP5Type/Base.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 21 18:53:32 CEST 2006


Author: kevin
Date: Mon Aug 21 18:53:31 2006
New Revision: 9299

URL: http://svn.erp5.org?rev=9299&view=rev
Log:
Fix wrong accessor test

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

Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=9299&r1=9298&r2=9299&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py (original)
+++ erp5/trunk/products/ERP5Type/Base.py Mon Aug 21 18:53:31 2006
@@ -2214,7 +2214,7 @@
       return current.getContainerLayout()
     # First try to get a content layout
     while current is not None:
-      if hasattr(current, 'hasContentLayout') and current.getContentLayout() not in ('', None):
+      if hasattr(current, 'getContentLayout') and current.getContentLayout() not in ('', None):
         return current.getContentLayout()
       current = current.getParentValue()
       if not hasattr(current, 'getApplicableLayout'):




More information about the Erp5-report mailing list