ReviewBot: comment_write(): place debug_key at the end for consistency.

This commit is contained in:
Jimmy Berry 2017-08-23 15:15:02 -05:00
parent 55aeefacb4
commit 757d31cf35

View File

@ -460,7 +460,7 @@ class ReviewBot(object):
(not identical and comment['comment'].count('\n') == message.count('\n'))) (not identical and comment['comment'].count('\n') == message.count('\n')))
): ):
# Assume same state/result and number of lines in message is duplicate. # Assume same state/result and number of lines in message is duplicate.
self.logger.debug('previous comment on {} too similar'.format(debug_key)) self.logger.debug('previous comment too similar on {}'.format(debug_key))
return return
self.logger.debug('adding comment to {}: {}'.format(debug_key, message)) self.logger.debug('adding comment to {}: {}'.format(debug_key, message))