Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2016-05-13 23:34:47 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-05-13 23:58:49 +0300
commitb0005c4fbbcc845bbe2a90dec4ab919cf2646d6d (patch)
treea8e15257232b3900084e9e84a0b6fe5a6a4a5b97 /scripts/generate-CHANGES.py
parent3b1ad3a55eea91fd84586474654886700a570216 (diff)
scripts/generate-CHANGES.py: fix capture group in gitMailmapLookup's contact regexp.
The email capture group accidently captured the whole email part of the contact, including angle brackets. Update the capture group to only capture the actual email address.
Diffstat (limited to 'scripts/generate-CHANGES.py')
-rw-r--r--scripts/generate-CHANGES.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-CHANGES.py b/scripts/generate-CHANGES.py
index 4dcfc7a41..ab5e2f55b 100644
--- a/scripts/generate-CHANGES.py
+++ b/scripts/generate-CHANGES.py
@@ -194,7 +194,7 @@ def gitMailmapLookup(author, email):
if p.returncode != 0:
raise Exception('"git check-mailmap" failed: %s', stderr)
- match = re.match('^(.*)\ (\<.*\>)$', stdout)
+ match = re.match('^(.*)\ \<(.*)\>$', stdout)
if match is None:
raise Exception("unable to parse contact output from 'git check-mailmap'")