changeset 38063712b02b in tryton-tools:default
details: https://hg.tryton.org/tryton-tools?cmd=changeset&node=38063712b02b
description:
        Set new review when username is not in the nosy list
diffstat:

 reviewbot.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9a1931fd5673 -r 38063712b02b reviewbot.py
--- a/reviewbot.py      Fri Apr 16 18:57:58 2021 +0200
+++ b/reviewbot.py      Sat Apr 17 01:05:16 2021 +0200
@@ -220,7 +220,7 @@
             reviews = ''
         reviews = list(filter(None, map(str.strip, reviews.split(','))))
         if review_id in reviews:
-            new = username in nosy
+            new = username not in nosy
             send_msg(fromaddr, issue_id, patchset, review_id, new)
 
 

Reply via email to