diff --git a/product/ERP5Type/ZopePatch.py b/product/ERP5Type/ZopePatch.py index 50a500c034d44f2fc8116e7434c826690f87a773..2712c2d73850c159f833d6ea3fde07b24447711b 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