ReviewBot: downgrade message about skipping duplicate review to debug.

This matches the original intent along with ensuring such messages never
end up in the default CommentFromLogHandler.
This commit is contained in:
Jimmy Berry 2017-08-29 22:18:16 -05:00
parent ed70089adf
commit 17d8ea8b3a

View File

@ -215,7 +215,7 @@ class ReviewBot(object):
# Only duplicate when allow_duplicate and state != new. # Only duplicate when allow_duplicate and state != new.
(not allow_duplicate or r.state == 'new')): (not allow_duplicate or r.state == 'new')):
del query['cmd'] del query['cmd']
self.logger.info('skipped adding duplicate review for {}'.format( self.logger.debug('skipped adding duplicate review for {}'.format(
'/'.join(query.values()))) '/'.join(query.values())))
return return