Commit 22608c7b authored by Nicolas Delaby's avatar Nicolas Delaby

Drop usage of getToolByName


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39966 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 217ac5b6
...@@ -35,7 +35,6 @@ from Products.Formulator.Errors import ValidationError ...@@ -35,7 +35,6 @@ from Products.Formulator.Errors import ValidationError
from Products.Formulator import MethodField from Products.Formulator import MethodField
from Products.ERP5Type.Utils import convertToUpperCase from Products.ERP5Type.Utils import convertToUpperCase
from Products.ERP5Type.TransactionalVariable import getTransactionalVariable from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
from Products.CMFCore.utils import getToolByName
from Products.PageTemplates.PageTemplateFile import PageTemplateFile from Products.PageTemplates.PageTemplateFile import PageTemplateFile
...@@ -430,7 +429,7 @@ class ProxyField(ZMIField): ...@@ -430,7 +429,7 @@ class ProxyField(ZMIField):
pass pass
portal = self.getPortalObject() portal = self.getPortalObject()
portal_skins = getToolByName(portal, 'portal_skins') portal_skins = portal.portal_skins
form = self.aq_parent form = self.aq_parent
object = form.aq_parent object = form.aq_parent
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment