[Erp5-report] r18375 - /erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Dec 18 04:04:15 CET 2007


Author: yo
Date: Tue Dec 18 04:04:14 2007
New Revision: 18375

URL: http://svn.erp5.org?rev=18375&view=rev
Log:
Use the method aq_base, instead of the attribute aq_base.

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

Modified: erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py?rev=18375&r1=18374&r2=18375&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py (original)
+++ erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py Tue Dec 18 04:04:14 2007
@@ -16,6 +16,7 @@
 from Products.CMFCore.Skinnable import SKINDATA, superGetAttr, SkinDataCleanup, SkinnableObjectManager
 from thread import get_ident
 from zLOG import LOG
+from Acquisition import aq_base
 
 """
   This patch modifies the way CMF Portal Skins gets a skin by its name from
@@ -69,7 +70,7 @@
         return resolve[name]
       except KeyError:
         if not ignore.has_key(name):
-          portal_skins = self.portal_skins.aq_base
+          portal_skins = aq_base(self.portal_skins)
           try:
             skin_selection_mapping = portal_skins._v_skin_location_list
           except AttributeError:




More information about the Erp5-report mailing list