From: Jeremy Kerr Date: Tue, 16 Sep 2008 07:39:50 +0000 (+1000) Subject: Drop project.linkname from patch subject lines X-Git-Tag: v0.9.0~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f21a92596f97dd093f693a4cc89577aacbe164cb;p=thirdparty%2Fpatchwork.git 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 2310ae8b..b679894f 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: