mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 10:54:07 +08:00
bugzilla-close-candidate.py: Fix sorting of branches.
Pushed to master. maintainer-scripts/ChangeLog: * bugzilla-close-candidate.py: Fix sorting of branches.
This commit is contained in:
parent
bd4291a1c4
commit
5e54b01f2b
@ -91,9 +91,10 @@ def search():
|
||||
if skip:
|
||||
continue
|
||||
|
||||
branches = get_branches_by_comments(comments)
|
||||
if len(branches):
|
||||
branches_str = ','.join(sorted(list(branches)))
|
||||
branches = sorted(list(get_branches_by_comments(comments)),
|
||||
key=lambda b: 999 if b is 'master' else int(b))
|
||||
if branches:
|
||||
branches_str = ','.join(branches)
|
||||
print('%-30s%-30s%-40s%-40s%-60s' % ('https://gcc.gnu.org/PR%d' % id, branches_str, fail, work, b['summary']), flush=True)
|
||||
ids.append(id)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user