Fix tb in fetch_activity.py
This commit is contained in:
parent
efb2d6de6f
commit
f015b4c857
1 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,9 @@ def main(resultsdb_url, frontend_url, timeparam):
|
|||
output += "To: " + to_time + "\n\n"
|
||||
output += "Executed checks:\n----------------\n"
|
||||
for check in together.keys():
|
||||
output += "%s: %d (%d %% failed)\n" % (check, together[check], int(round((failed_types[check] * 100.0) / together[check])))
|
||||
failed_count = failed_types.get(check, 0)
|
||||
failed_percent = int(round((failed_count * 100.0) / together[check]))
|
||||
output += "%s: %d (%d %% failed)\n" % (check, together[check], failed_percent)
|
||||
output += "\nTotal: %d executed, %d failed\n\n" % (passed + failed, failed)
|
||||
output += "Links to failed checks:\n-----------------------\n"
|
||||
for failed_check in failed_types.keys():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue