diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2018-11-30 14:19:00 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2018-11-30 14:19:00 -0500 |
commit | 2446b2ba143aa4e0737a0e8b98c2bf8c283f6bcd (patch) | |
tree | 30b3f8c27030fa3774554dd93b2841e11999f457 | |
parent | ca2cd5af40f9d5f3c7968cb921bc76f7a9178cd7 (diff) | |
download | korg-helpers-2446b2ba143aa4e0737a0e8b98c2bf8c283f6bcd.tar.gz |
Sort by submitter/name instead of submitter/id
The patches can arrive out of order, so patch_id may not represent the
order in the series.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | git-patchwork-bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-patchwork-bot.py b/git-patchwork-bot.py index 19b62e7..fd9b499 100755 --- a/git-patchwork-bot.py +++ b/git-patchwork-bot.py @@ -403,7 +403,7 @@ def summarize_patches(summarydata, server, config, submitter=None): references = list() body = '' count = 0 - for pdata in sorted(summarydata, key=lambda i: (i['submitter'], i['patch_id'])): + for pdata in sorted(summarydata, key=lambda i: (i['submitter'], i['name'])): if submitter is not None and submitter != pdata['submitter']: # skip this submitter continue |