diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-09-17 13:23:09 +0200 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-09-18 10:02:21 +0800 |
commit | 3d807d7921ac32fca7e01c008412f0f46d96d076 (patch) | |
tree | 233de30ef174f3465ce54af70b627012ad53581d /apps | |
parent | 4fc6a16910e595401e919abde28cca436193e0dd (diff) | |
download | patchwork-3d807d7921ac32fca7e01c008412f0f46d96d076.tar.bz2 patchwork-3d807d7921ac32fca7e01c008412f0f46d96d076.tar.xz |
Add Message-Id to xmlrpc patch_get_mbox headers
While trying to utilize patchwork for my daily workflow I noticed that
the xmlrpc patch_get_mbox function does not add the original message
id to the headers. That forces me to look it up with the browser which
is a major PITA.
Add Message-Id to the headers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/patchwork/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/patchwork/models.py b/apps/patchwork/models.py index fa213dc..75dc041 100644 --- a/apps/patchwork/models.py +++ b/apps/patchwork/models.py @@ -266,6 +266,7 @@ class Patch(models.Model): time.mktime(self.date.utctimetuple())) mail['From'] = unicode(self.submitter) mail['X-Patchwork-Id'] = str(self.id) + mail['Message-Id'] = self.msgid mail.set_unixfrom('From patchwork ' + self.date.ctime()) return mail |