git.iko.soy/typeable/nixpkgs
on master help sign in
Remove Python 2 specific syntax
commit55e477c1f15405bd53bdac2cc61fa8f62defe4ee authorbutterflya <rtdvrs+butterflya@gmail.com> dateSat 11 Mar 2017, 17:42 (10 years ago) parent286917b
1 file changed+2−2
maintainers/scripts/hydra-eval-failures.py+2−2
maintainers/scripts/hydra-eval-failures.py+2−2
@@ -74,13 +74,13 @@ def cli(jobset):
7474 # TODO: dependency failed without propagated builds
7575 for tr in d('img[alt="Failed"]').parents('tr'):
7676 a = pq(tr)('a')[1]
77− print "- [ ] [{}]({})".format(a.text, a.get('href'))
77+ print("- [ ] [{}]({})".format(a.text, a.get('href')))
7878
7979 sys.stdout.flush()
8080
8181 maintainers = get_maintainers(a.text)
8282 if maintainers:
83− print " - maintainers: {}".format(", ".join(map(lambda u: '@' + u, maintainers)))
83+ print(" - maintainers: {}".format(", ".join(map(lambda u: '@' + u, maintainers))))
8484 # TODO: print last three persons that touched this file
8585 # TODO: pinpoint the diff that broke this build, or maybe it's transient or maybe it never worked?
8686