You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2025/07/25 17:51:50 UTC
(solr) branch branch_9x updated: Fix small bug in parseContributorsFromChanges.py
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new d8200d14ed0 Fix small bug in parseContributorsFromChanges.py
d8200d14ed0 is described below
commit d8200d14ed0b6d07df956545d065557ba26da8b6
Author: Houston Putman <ho...@apache.org>
AuthorDate: Fri Jul 25 10:51:27 2025 -0700
Fix small bug in parseContributorsFromChanges.py
---
dev-tools/scripts/parseContributorsFromChanges.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-tools/scripts/parseContributorsFromChanges.py b/dev-tools/scripts/parseContributorsFromChanges.py
index 70617df1957..de298420905 100644
--- a/dev-tools/scripts/parseContributorsFromChanges.py
+++ b/dev-tools/scripts/parseContributorsFromChanges.py
@@ -51,7 +51,8 @@ for para in paras:
contributor = contributor.strip()
contributors[contributor] += 1
-del contributors['solrbot']
+if 'solrbot' in contributors:
+ del contributors['solrbot']
sorted_contributors = sorted(contributors.items(), key=lambda item: item[1], reverse=True)