[PATCH 3/5] nmbug-status: Use a triple-quoted string for the footer template
authorW. Trevor King <wking@tremily.us>
Sat, 10 May 2014 19:12:47 +0000 (12:12 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:37 +0000 (10:02 -0800)
5a/a27f99b4d47855a0c9a47eeefa1d12ca9a8927 [new file with mode: 0644]

diff --git a/5a/a27f99b4d47855a0c9a47eeefa1d12ca9a8927 b/5a/a27f99b4d47855a0c9a47eeefa1d12ca9a8927
new file mode 100644 (file)
index 0000000..89bfead
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <wking@tremily.us>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 211A0431FCB\r
+       for <notmuch@notmuchmail.org>; Sat, 10 May 2014 12:13:37 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 1-yXe0Ol8wpU for <notmuch@notmuchmail.org>;\r
+       Sat, 10 May 2014 12:13:31 -0700 (PDT)\r
+Received: from qmta02.westchester.pa.mail.comcast.net\r
+       (qmta02.westchester.pa.mail.comcast.net [76.96.62.24])\r
+       by olra.theworths.org (Postfix) with ESMTP id 56616431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 10 May 2014 12:13:31 -0700 (PDT)\r
+Received: from omta05.westchester.pa.mail.comcast.net ([76.96.62.43])\r
+       by qmta02.westchester.pa.mail.comcast.net with comcast\r
+       id 0KB51o0020vyq2s51KDVx1; Sat, 10 May 2014 19:13:29 +0000\r
+Received: from odin.tremily.us ([24.18.63.50])\r
+       by omta05.westchester.pa.mail.comcast.net with comcast\r
+       id 0KDU1o00S152l3L3RKDV8K; Sat, 10 May 2014 19:13:29 +0000\r
+Received: from mjolnir.tremily.us (unknown [192.168.0.140])\r
+       by odin.tremily.us (Postfix) with ESMTPS id 3C0FE119F477;\r
+       Sat, 10 May 2014 12:13:28 -0700 (PDT)\r
+Received: (nullmailer pid 7436 invoked by uid 1000);\r
+       Sat, 10 May 2014 19:12:55 -0000\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 3/5] nmbug-status: Use a triple-quoted string for the footer\r
+       template\r
+Date: Sat, 10 May 2014 12:12:47 -0700\r
+Message-Id:\r
+ <e7c274b007316b5d6cb4a7c892e3f13bd801d321.1399748615.git.wking@tremily.us>\r
+X-Mailer: git-send-email 1.9.1.353.gc66d89d\r
+In-Reply-To: <cover.1399748615.git.wking@tremily.us>\r
+References: <cover.1399748615.git.wking@tremily.us>\r
+In-Reply-To: <cover.1399748615.git.wking@tremily.us>\r
+References: <cover.1399748615.git.wking@tremily.us>\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+       s=q20140121; t=1399749209;\r
+       bh=/xguDVFytQE0omDA68UaVFB+oUX2yhei6w8fIMPfq/Y=;\r
+       h=Received:Received:Received:Received:From:To:Subject:Date:\r
+       Message-Id;\r
+       b=mnBx5mSaCyOTS98JUJrNk1Ga+/UBA6nQ65p7HrDe4ypzRY7I1vEAOhn2p4h2TdIuz\r
+       iFd2RrSCCElo8eu4hsHA4GVzCuDf6qqp0ih8f8Ubnxf+pDnGZwWkKCxsVzMp7QEAY1\r
+       gIWcs68Z3DkI82n+aMEyIhPmKs90bZ2p2TnWergOHC5LmShv9ZO+P19X8mFctDGqSi\r
+       0ecrSSyK9f8hgGM3LPRGl+5Iflu9QKUDt38rMM2A9VbQ6qtM9DLENSSaZzEGgVBTju\r
+       OXdcz4ELqI+NRGCbdRpGePmAjT9sts6wlWo8smQF3GgF89g5eLmRFnaodw6zDfU7Z/\r
+       wEN9Xpb+YUkUA==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 10 May 2014 19:13:37 -0000\r
+\r
+Follow the pattern set by our header template and avoid the long line.\r
+---\r
+ devel/nmbug/nmbug-status | 7 ++++++-\r
+ 1 file changed, 6 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status\r
+index b4f9829..e14fecd 100755\r
+--- a/devel/nmbug/nmbug-status\r
++++ b/devel/nmbug/nmbug-status\r
+@@ -320,7 +320,12 @@ _PAGES['html'] = HtmlPage(\r
+            encoding=_ENCODING,\r
+            inter_message_padding='0.25em',\r
+            border_radius='0.5em'),\r
+-    footer='<hr><p>Generated: {date}</body>\n</html>\n'.format(date=datetime.datetime.utcnow().date())\r
++    footer='''\r
++<hr>\r
++<p>Generated: {date}\r
++</body>\r
++</html>\r
++'''.format(date=datetime.datetime.utcnow().date())\r
+     )\r
\r
+ if args.list_views:\r
+-- \r
+1.9.1.353.gc66d89d\r
+\r