Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix dev-tools/scripts/parseContributorsFromChanges.py

David Smiley616a8807bfbd
diff --git a/dev-tools/scripts/parseContributorsFromChanges.py b/dev-tools/scripts/parseContributorsFromChanges.py
index 9ce1a5e19ae..70617df1957 100644
--- a/dev-tools/scripts/parseContributorsFromChanges.py
+++ b/dev-tools/scripts/parseContributorsFromChanges.py
@@ -37,7 +37,7 @@ pattern = re.compile(r"\(([^()]*)\)$")
for para in paras:
# Normalize whitespace (replace all whitespace with a single space)
- para = re.sub('\s+', ' ', para).strip()
+ para = re.sub(r"\s+", ' ', para).strip()
#print(f'> {para}')
# Find all contributors in the line