show full comment also in dry mode

This commit is contained in:
Ludwig Nussel 2015-05-20 18:19:27 +02:00
parent 6f56749b61
commit 923d55274f

View File

@ -387,12 +387,13 @@ class ABIChecker(ReviewBot.ReviewBot):
if not self.text_summary:
return
msg = "<!-- abichecker state=%s%s -->\n"%(state, ' result=%s'%result if result else '')
msg += self.text_summary
if self.dryrun:
self.logger.info("add comment %s"%self.text_summary)
self.logger.info("add comment: %s"%msg)
else:
#self.commentapi.delete_from_where_user(self.review_user, request_id = req.reqid)
msg = "<!-- abichecker state=%s%s -->\n"%(state, ' result=%s'%result if result else '')
msg += self.text_summary
self.commentapi.add_comment(request_id = req.reqid, comment = msg)
def run_abi_checker(self, libname, old, new, output):