diff options
author | butterflya <rtdvrs+butterflya@gmail.com> | 2017-03-11 17:42:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-11 17:42:20 +0100 |
commit | 55e477c1f15405bd53bdac2cc61fa8f62defe4ee (patch) | |
tree | 9e28022e3153e604e4bf8e72ff36b400820282f2 /maintainers | |
parent | 286917bfc983599d75d248a255e66234a4e8ddb9 (diff) |
Remove Python 2 specific syntax
Diffstat (limited to 'maintainers')
-rwxr-xr-x | maintainers/scripts/hydra-eval-failures.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintainers/scripts/hydra-eval-failures.py b/maintainers/scripts/hydra-eval-failures.py index b339f296056c..6122dabb1e85 100755 --- a/maintainers/scripts/hydra-eval-failures.py +++ b/maintainers/scripts/hydra-eval-failures.py @@ -74,13 +74,13 @@ def cli(jobset): # TODO: dependency failed without propagated builds for tr in d('img[alt="Failed"]').parents('tr'): 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) 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: pinpoint the diff that broke this build, or maybe it's transient or maybe it never worked? |