diff options
author | Domen Kožar <domen@enlambda.com> | 2017-03-11 19:47:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-11 19:47:33 +0100 |
commit | 25d3a0b6b630746286c0f4417740bdf1ceb7af76 (patch) | |
tree | eaa721a8530e2b20a9e3ae10b1f5643eb65b8119 /maintainers | |
parent | bd4285a4cb36c364487c506a23db0f5fd06819bb (diff) | |
parent | 55e477c1f15405bd53bdac2cc61fa8f62defe4ee (diff) |
Merge pull request #23758 from butterflya/patch-5
hydra-eval-failures.py: 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? |