From 0c670c35eab0f6106ca8ce78ae09fe78a6f819d3 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Fri, 9 Sep 2005 08:55:40 +0000 Subject: [PATCH] Remove some boring LOG messages. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3758 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/PreferenceTool.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/product/ERP5Form/PreferenceTool.py b/product/ERP5Form/PreferenceTool.py index 37aac54d0a..b65f6840f9 100755 --- a/product/ERP5Form/PreferenceTool.py +++ b/product/ERP5Form/PreferenceTool.py @@ -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, -- 2.30.9