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

Generated: {date}\n\n'.format(date=datetime.datetime.utcnow().date()) ++ footer=''' ++


++

Generated: {date} ++ ++ ++'''.format(date=datetime.datetime.utcnow().date()) + ) + + if args.list_views: +-- +1.9.1.353.gc66d89d +