Show the report in debug mode.

This commit is contained in:
Alberto Planas 2014-09-29 10:07:05 +02:00
parent 336fd9137c
commit 728467d16a

View File

@ -168,6 +168,10 @@ class OpenQAReport(object):
report = '\n\n'.join((report_broken_packages, report_openQA))
report = report.strip()
if report:
if osc.conf.config['debug']:
print project
print '-' * len(project)
print report
self.update_status_comment(project, report)