From a385a373b972152947652d77d73ba8d07f7e335f Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Tue, 1 Nov 2016 19:24:39 +0100 Subject: [PATCH] Typo in comments --- pillar/web/nodes/custom/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/web/nodes/custom/comments.py b/pillar/web/nodes/custom/comments.py index 7ccd2e37..e04fdca2 100644 --- a/pillar/web/nodes/custom/comments.py +++ b/pillar/web/nodes/custom/comments.py @@ -183,7 +183,7 @@ def comments_for_node(node_id): some_comment['_current_user_rating'] = None # tri-state boolean if current_user.is_authenticated: - for rating in comment.properties.ratings or (): + for rating in some_comment.properties.ratings or (): if rating.user != current_user.objectid: continue