diff --git a/pagure/lib/model.py b/pagure/lib/model.py index 089f23d..2cc413c 100644 --- a/pagure/lib/model.py +++ b/pagure/lib/model.py @@ -685,11 +685,11 @@ class PullRequest(BASE): positive = set() negative = set() for comment in self.discussion: - for word in [' +1 ', ':thumbsup:']: + for word in ['+1', ':thumbsup:']: if word in comment.comment: positive.add(comment.user_id) break - for word in [' -1 ', ':thumbsdown:']: + for word in ['-1', ':thumbsdown:']: if word in comment.comment: negative.add(comment.user_id) break