repo_checker: project_only place dashboard update behind dryrun check.

This commit is contained in:
Jimmy Berry 2017-10-27 17:47:29 -05:00
parent b9bb3ce224
commit 8767f73eca

View File

@ -64,7 +64,10 @@ class RepoChecker(ReviewBot.ReviewBot):
self.result_comment(arch, results, comment)
text = '\n'.join(comment).strip()
api.dashboard_content_ensure('repo_checker', text, 'project_only run')
if not self.dryrun:
api.dashboard_content_ensure('repo_checker', text, 'project_only run')
else:
print(text)
if post_comments:
self.package_comments(project)