aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-03-08 03:49:48 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-03-08 03:49:48 +0000
commit37e9de87cfbc572731fd4c4d1e765c18f5d66ab8 (patch)
treef6328665c084bf465c6150cac14114858f04314e /web
parent2010 is a valid year. (diff)
downloadpackages-37e9de87cfbc572731fd4c4d1e765c18f5d66ab8.tar.gz
packages-37e9de87cfbc572731fd4c4d1e765c18f5d66ab8.tar.bz2
packages-37e9de87cfbc572731fd4c4d1e765c18f5d66ab8.zip
Try to improve author matching.
Diffstat (limited to 'web')
-rw-r--r--web/lib/changelog_formatter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/changelog_formatter.py b/web/lib/changelog_formatter.py
index dfb3345..e764631 100644
--- a/web/lib/changelog_formatter.py
+++ b/web/lib/changelog_formatter.py
@@ -8,8 +8,8 @@ from web.lib.links import viewcvs_link, \
# We use short variable names!
# pylint: disable-msg=C0103
-re_author = re.compile(r' 20[01]\d; ([^<]+)? ?<([^@]+)@[^>]')
-re_author2 = re.compile(r' ([^@ ]+)@')
+re_author = re.compile(r' 20[01]\d; ([^<]+)? ?<([^@]+)@[^>]>')
+re_author2 = re.compile(r' <?([^<@ ]+)@')
def extract_changelog_entry_author(line):
"""From the first line of a changelog entry,
extract the author name and userid"""