From d661b64ac85e0b6c83d00086e0ab64cc47cbf545 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 8 Jun 2005 08:13:39 +0000 Subject: [PATCH] Please do not commit to many LOG. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3211 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/ZopePatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/ZopePatch.py b/product/ERP5Type/ZopePatch.py index 50a500c034..2712c2d738 100755 --- a/product/ERP5Type/ZopePatch.py +++ b/product/ERP5Type/ZopePatch.py @@ -1884,12 +1884,12 @@ def new_traverse(self, path, response=None, validated_hook=None) : portal_type_object = getattr(object.portal_types, portal_type_getter(), None) if portal_type_object is not None : allowed = portal_type_object.isActionAllowed(action=object_id) - LOG('My Traverse allowed', 0, repr(( path, object, allowed ))) +# LOG('My Traverse allowed', 0, repr(( path, object, allowed ))) if allowed == 0 : LOG('My Traverse failed after TIMEEEEEEEEEEE', 0, time.time() - start_time) response.unauthorized() - LOG('My Traverse succeded after TIMEEEEEEEEEEE', 0, time.time() - start_time) +# LOG('My Traverse succeded after TIMEEEEEEEEEEE', 0, time.time() - start_time) return object BaseRequest.traverse = new_traverse -- 2.30.9