Commit 017c88eb authored by Jérome Perrin's avatar Jérome Perrin

Remove LOG that appears to often when creating a new site


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3992 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 017f9b39
......@@ -29,7 +29,6 @@
from AccessControl import ClassSecurityInfo
from Globals import InitializeClass, DTMLFile
from Acquisition import aq_base
from zLOG import LOG, DEBUG
from Products.CMFCore.utils import getToolByName
from Products.ERP5Type.Tool.BaseTool import BaseTool
......@@ -114,7 +113,6 @@ class PreferenceTool(BaseTool):
try :
pref_portal_type = getToolByName(self, 'portal_types')['Preference']
except KeyError :
LOG('PreferenceTool', DEBUG, 'Preference type definition not found')
# When creating an ERP5 Site, this method is called, but the
# type is not installed yet
return []
......
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