--- /dev/null
+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 C4F62429E3B\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Feb 2014 03:02:58 -0800 (PST)\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 rCjrKQ1Sz6qj for <notmuch@notmuchmail.org>;\r
+ Mon, 3 Feb 2014 03:02:51 -0800 (PST)\r
+Received: from qmta15.westchester.pa.mail.comcast.net\r
+ (qmta15.westchester.pa.mail.comcast.net [76.96.59.228])\r
+ by olra.theworths.org (Postfix) with ESMTP id 52AEC429E2F\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Feb 2014 03:02:42 -0800 (PST)\r
+Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11])\r
+ by qmta15.westchester.pa.mail.comcast.net with comcast\r
+ id Mmzo1n0080EZKEL5Fn2i3H; Mon, 03 Feb 2014 11:02:42 +0000\r
+Received: from odin.tremily.us ([24.18.63.50])\r
+ by omta01.westchester.pa.mail.comcast.net with comcast\r
+ id Mn0h1n006152l3L3Mn0iiU; Mon, 03 Feb 2014 11:00:42 +0000\r
+Received: from mjolnir.tremily.us (unknown [192.168.0.140])\r
+ by odin.tremily.us (Postfix) with ESMTPS id 184D8FB4D50;\r
+ Mon, 3 Feb 2014 03:00:41 -0800 (PST)\r
+Received: (nullmailer pid 694 invoked by uid 1000);\r
+ Mon, 03 Feb 2014 10:59:41 -0000\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 08/17] nmbug-status: Consolidate HTML header printing\r
+Date: Mon, 3 Feb 2014 02:59:26 -0800\r
+Message-Id:\r
+ <baedd516847f27bec29489eed3dc381dd076c01f.1391424512.git.wking@tremily.us>\r
+X-Mailer: git-send-email 1.8.5.2.8.g0f6c0d1\r
+In-Reply-To: <cover.1391424512.git.wking@tremily.us>\r
+References: <cover.1391424512.git.wking@tremily.us>\r
+In-Reply-To: <cover.1391424512.git.wking@tremily.us>\r
+References: <cover.1391424512.git.wking@tremily.us>\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+ s=q20121106; t=1391425362;\r
+ bh=A5pu3T/sSEWdI5VbSqgXNCMKF5j4y5sZerrdYMH7JY0=;\r
+ h=Received:Received:Received:Received:From:To:Subject:Date:\r
+ Message-Id;\r
+ b=dIsED72NAObM/km8PkR3Tu0F2MQwwESoSqqGUcMY2gaoGN1Nyyl/sfjZ08H+R/KC3\r
+ 2FJllf/c5xVJQSzfw9tI1HtPpmfjL6uGzW290biltEqyiYM596q+HW5mk7Sbq+OQxS\r
+ 5lqpya2IVHPkStHpVTFIUs1lyE+qJMk+8Z5iVnN1XHwaFy1sRCCz+8tuCl4zB8B0P5\r
+ Hc+ggbVu83fEyuhrFTvye3foU8/zQ0/hoTLrt1h67KSo73c3NJ6GsbvAWSdJmAFakm\r
+ Unr5J5Scl36pZcADGI6NsVTDIh4i6ignjYOUkPZRmplVXF9qeTNTxPbcp6Xd55tXsV\r
+ 3uLJJAyvDRcYQ==\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: Mon, 03 Feb 2014 11:02:59 -0000\r
+\r
+Make this all one big string, using '...{date}...'.format(date=...) to\r
+inject the date [1]. This syntax was added in Python 2.6, and is\r
+preferred to %-formatting in Python 3 [1].\r
+\r
+[1]: http://docs.python.org/2/library/stdtypes.html#str.format\r
+---\r
+ devel/nmbug/nmbug-status | 13 ++++++-------\r
+ 1 file changed, 6 insertions(+), 7 deletions(-)\r
+\r
+diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status\r
+index be3e28e..3aa83b6 100755\r
+--- a/devel/nmbug/nmbug-status\r
++++ b/devel/nmbug/nmbug-status\r
+@@ -190,13 +190,12 @@ if output_format == 'html':\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r
+ <title>Notmuch Patches</title>\r
+ </head>\r
+-<body>''')\r
+- print('<h2>Notmuch Patches</h2>')\r
+- print('Generated: %s<br />' % datetime.datetime.utcnow().date())\r
+- print('For more infomation see <a href="http://notmuchmail.org/nmbug">nmbug</a>')\r
+-\r
+- print('<h3>Views</h3>')\r
+- print('<ul>')\r
++<body>\r
++<h2>Notmuch Patches</h2>\r
++Generated: {date}<br />\r
++For more infomation see <a href="http://notmuchmail.org/nmbug">nmbug</a>\r
++<h3>Views</h3>\r
++<ul>'''.format(date=datetime.datetime.utcnow().date()))\r
+ for view in config['views']:\r
+ print('<li><a href="#%(title)s">%(title)s</a></li>' % view)\r
+ print('</ul>')\r
+-- \r
+1.8.5.2.8.g0f6c0d1\r
+\r