From ad1816c6172d3b623159d8193f7febfd826bf6ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 20 Oct 2016 13:01:17 +0200 Subject: [PATCH] =?UTF-8?q?log.warning=20=E2=86=92=20.info?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pillar/web/nodes/custom/comments.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pillar/web/nodes/custom/comments.py b/pillar/web/nodes/custom/comments.py index a3edf50c..69216b3f 100644 --- a/pillar/web/nodes/custom/comments.py +++ b/pillar/web/nodes/custom/comments.py @@ -37,8 +37,8 @@ def comments_create(): current_user.objectid, parent_id) raise wz_exceptions.UnprocessableEntity() - log.warning('Creating comment for user %s on parent node %r', - current_user.objectid, parent_id) + log.info('Creating comment for user %s on parent node %r', + current_user.objectid, parent_id) comment_props = dict( project=parent_node.project, @@ -209,7 +209,6 @@ def comments_for_node(node_id): nr_of_comments = sum(1 + comment['_replies']['_meta']['total'] for comment in comments['_items']) - # Data will be requested via javascript return render_template('nodes/custom/comment/list_embed.html', node_id=node_id, comments=comments,