]> 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>
Sat, 3 Feb 2018 03:11:13 +0000 (14:11 +1100)
commit5cf8767598398960173f09cf213dfbad70be880e
tree445f5126744cc3a63ca2c801c4ada6c2457d28c0
parent39c9a7d4f1013ba3bfe899b56840e492f2584b99
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