From: Jeremy Kerr Date: Tue, 16 Sep 2008 07:39:50 +0000 (+1000) Subject: Drop project.linkname from patch subject lines X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=commitdiff_plain;h=f21a92596f97dd093f693a4cc89577aacbe164cb Drop project.linkname from patch subject lines .. otherwise every cell patch will be prefixed with [Cbe-oss-dev] Signed-off-by: Jeremy Kerr --- 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: