[infra] unwrap result object

This commit is contained in:
Mike Aizatsky 2016-12-27 11:50:40 -08:00 committed by GitHub
parent a74e294fca
commit 288b25b287
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ def upload_status(successes, failures):
"""Upload main status page."""
env = Environment(loader=FileSystemLoader(os.path.join(SCRIPT_DIR,
'templates')))
failures = [f.name for f in failures]
successes = [s.name for s in successes]
data = {
'projects': failures + successes,
'failures': failures,