Commit 0c670c35 authored by Romain Courteaud's avatar Romain Courteaud

Remove some boring LOG messages.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3758 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ccd0a231
......@@ -71,8 +71,8 @@ class PreferenceTool(BaseTool):
if aq_base_name is not None :
return aq_base_name
if name in self.getValidPreferenceNames() :
LOG('PreferenceTool._aq_dynamic',
BLATHER, "good preference %s, looking up ..."%name)
# LOG('PreferenceTool._aq_dynamic',
# BLATHER, "good preference %s, looking up ..."%name)
return self.getPreference(name)
security.declareProtected(Permissions.View, "getPreference")
......@@ -89,8 +89,8 @@ class PreferenceTool(BaseTool):
else :
value = attr
if value not in (None, '', (), []) :
LOG('PreferenceTool.getPreference',
BLATHER, "found preference %s on %s"%(pref_name, pref))
# LOG('PreferenceTool.getPreference',
# BLATHER, "found preference %s on %s"%(pref_name, pref))
return attr
if found :
return attr
......@@ -137,7 +137,7 @@ class PreferenceTool(BaseTool):
'get%sIdList' % convertToUpperCase(attribute),
'get%sTitleList' % convertToUpperCase(attribute),
'get%sList' % convertToUpperCase(attribute), ]
LOG('PreferenceTool.getValidPreferenceNames', BLATHER, attr_list)
# LOG('PreferenceTool.getValidPreferenceNames', BLATHER, attr_list)
return attr_list
_getValidPreferenceNames = CachingMethod(
_getValidPreferenceNames, cache_duration = 600,
......@@ -176,8 +176,8 @@ class PreferenceTool(BaseTool):
if hasattr(doc, 'getTemplateDestinationUidList') and \
folder.getUid() in doc.getTemplateDestinationUidList() :
acceptable_templates.append (doc)
LOG('PreferenceTool.getDocumentTemplatesForFolder',
BLATHER, 'templates for %s : %s' % (folder, acceptable_templates))
# LOG('PreferenceTool.getDocumentTemplatesForFolder',
# BLATHER, 'templates for %s : %s' % (folder, acceptable_templates))
return acceptable_templates
security.declareProtected(Permissions.ManagePortal,
......
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