From f21a92596f97dd093f693a4cc89577aacbe164cb Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 16 Sep 2008 17:39:50 +1000 Subject: [PATCH 1/1] Drop project.linkname from patch subject lines .. otherwise every cell patch will be prefixed with [Cbe-oss-dev] Signed-off-by: Jeremy Kerr --- apps/patchwork/bin/parsemail.py | 6 +++--- 1 file 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: -- 2.39.2