diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-09-16 17:39:50 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-09-16 17:39:50 +1000 |
commit | f21a92596f97dd093f693a4cc89577aacbe164cb (patch) | |
tree | 52f1b043bd9bd653eb0edfd97c19ca7c687ff866 /apps/patchwork | |
parent | 96467db48884d72bc04fc23c8f957190fa004779 (diff) | |
download | patchwork-f21a92596f97dd093f693a4cc89577aacbe164cb.tar.bz2 patchwork-f21a92596f97dd093f693a4cc89577aacbe164cb.tar.xz |
Drop project.linkname from patch subject lines
.. otherwise every cell patch will be prefixed with [Cbe-oss-dev]
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork')
-rwxr-xr-x | apps/patchwork/bin/parsemail.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/patchwork/bin/parsemail.py b/apps/patchwork/bin/parsemail.py index 2310ae8..b679894 100755 --- a/apps/patchwork/bin/parsemail.py +++ b/apps/patchwork/bin/parsemail.py @@ -149,9 +149,9 @@ def find_content(project, mail): if patchbuf: mail_headers(mail) - patch = Patch(name = clean_subject(mail.get('Subject')), - content = patchbuf, date = mail_date(mail), - headers = mail_headers(mail)) + name = clean_subject(mail.get('Subject'), [project.linkname]) + patch = Patch(name = name, content = patchbuf, + date = mail_date(mail), headers = mail_headers(mail)) if commentbuf: if patch: |