]> git.ozlabs.org Git - patchwork/commitdiff
Drop project.linkname from patch subject lines
authorJeremy Kerr <jk@ozlabs.org>
Tue, 16 Sep 2008 07:39:50 +0000 (17:39 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 16 Sep 2008 07:39:50 +0000 (17:39 +1000)
.. otherwise every cell patch will be prefixed with [Cbe-oss-dev]

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/bin/parsemail.py

index 2310ae8bc187fa52e73b9ffb7378feee0d38193f..b679894f0e1d4f44509f82530a3a58b8f2f524aa 100755 (executable)
@@ -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: