maintainers/hydra-eval-failures: flush stdout more often
This commit is contained in:
parent
0b7861dc7f
commit
c5367a4409
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import json
|
import json
|
||||||
|
import sys
|
||||||
|
|
||||||
import click
|
import click
|
||||||
import requests
|
import requests
|
||||||
@ -75,12 +76,16 @@ def cli(jobset):
|
|||||||
a = pq(tr)('a')[1]
|
a = pq(tr)('a')[1]
|
||||||
print "- [ ] [{}]({})".format(a.text, a.get('href'))
|
print "- [ ] [{}]({})".format(a.text, a.get('href'))
|
||||||
|
|
||||||
|
sys.stdout.flush()
|
||||||
|
|
||||||
maintainers = get_maintainers(a.text)
|
maintainers = get_maintainers(a.text)
|
||||||
if maintainers:
|
if maintainers:
|
||||||
print " - maintainers: {}".format(", ".join(map(lambda u: '@' + u, maintainers)))
|
print " - maintainers: {}".format(", ".join(map(lambda u: '@' + u, maintainers)))
|
||||||
# TODO: print last three persons that touched this file
|
# TODO: print last three persons that touched this file
|
||||||
# TODO: pinpoint the diff that broke this build, or maybe it's transient or maybe it never worked?
|
# TODO: pinpoint the diff that broke this build, or maybe it's transient or maybe it never worked?
|
||||||
|
|
||||||
|
sys.stdout.flush()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user