]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tags: be a bit more permissive in what we render to a message
authorDaniel Axtens <dja@axtens.net>
Thu, 25 Jan 2018 01:25:25 +0000 (12:25 +1100)
committerDaniel Axtens <dja@axtens.net>
Tue, 30 Jan 2018 15:28:14 +0000 (02:28 +1100)
commit6fe884f1d8711314708f4adc0b41c6ad64377161
treedce98920425acec3ee5bbde44efd39c5a1b80253
parent3f46c99a403d1ec2cc86d67c7c88c61e5584403b
tags: be a bit more permissive in what we render to a message

Currently we render a tag from a comment into a message if it is

 '^(whatever)-by: .*'

We found a patch that had a UTF-8 non-breaking space after the colon,
and this was breaking the regex. So just remove the requirement for
a space entirely.

Closes: #124
Signed-off-by: Daniel Axtens <dja@axtens.net>
patchwork/models.py
patchwork/tests/test_mboxviews.py