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 @@ ...@@ -29,7 +29,6 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Globals import InitializeClass, DTMLFile from Globals import InitializeClass, DTMLFile
from Acquisition import aq_base from Acquisition import aq_base
from zLOG import LOG, DEBUG
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from Products.ERP5Type.Tool.BaseTool import BaseTool from Products.ERP5Type.Tool.BaseTool import BaseTool
...@@ -114,7 +113,6 @@ class PreferenceTool(BaseTool): ...@@ -114,7 +113,6 @@ class PreferenceTool(BaseTool):
try : try :
pref_portal_type = getToolByName(self, 'portal_types')['Preference'] pref_portal_type = getToolByName(self, 'portal_types')['Preference']
except KeyError : except KeyError :
LOG('PreferenceTool', DEBUG, 'Preference type definition not found')
# When creating an ERP5 Site, this method is called, but the # When creating an ERP5 Site, this method is called, but the
# type is not installed yet # type is not installed yet
return [] 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