[Patch v3 4/4] doc: cosmetic fix for prerst2man.py
[notmuch-archives.git] / bc / 0546538cce444760152832d23e7185ae7a8e2e
1 Return-Path: <bremner@tethera.net>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 2CA82431FD8\r
6         for <notmuch@notmuchmail.org>; Wed, 12 Mar 2014 20:21:41 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id fhtUSo4SuvaV for <notmuch@notmuchmail.org>;\r
16         Wed, 12 Mar 2014 20:21:37 -0700 (PDT)\r
17 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
18         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 2A564431FC0\r
21         for <notmuch@notmuchmail.org>; Wed, 12 Mar 2014 20:21:37 -0700 (PDT)\r
22 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
23         (envelope-from <bremner@tethera.net>)\r
24         id 1WNwDA-0000Cg-75; Thu, 13 Mar 2014 00:21:36 -0300\r
25 Received: (nullmailer pid 25683 invoked by uid 1000); Thu, 13 Mar 2014\r
26         03:21:29 -0000\r
27 From: David Bremner <david@tethera.net>\r
28 To: notmuch@notmuchmail.org\r
29 Subject: [Patch v3 4/4] doc: cosmetic fix for prerst2man.py\r
30 Date: Thu, 13 Mar 2014 00:21:17 -0300\r
31 Message-Id: <1394680877-25572-5-git-send-email-david@tethera.net>\r
32 X-Mailer: git-send-email 1.8.5.3\r
33 In-Reply-To: <1394680877-25572-1-git-send-email-david@tethera.net>\r
34 References: <m238iozjmc.fsf@guru.guru-group.fi>\r
35         <1394680877-25572-1-git-send-email-david@tethera.net>\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Thu, 13 Mar 2014 03:21:41 -0000\r
49 \r
50 Fix a particular egregious combination of format and string\r
51 concatenation.\r
52 ---\r
53  doc/prerst2man.py | 3 ++-\r
54  1 file changed, 2 insertions(+), 1 deletion(-)\r
55 \r
56 diff --git a/doc/prerst2man.py b/doc/prerst2man.py\r
57 index 720deb6..4591264 100644\r
58 --- a/doc/prerst2man.py\r
59 +++ b/doc/prerst2man.py\r
60 @@ -59,4 +59,5 @@ for page in man_pages:\r
61      outfile.write("".join(lines))\r
62      outfile.close()\r
63  \r
64 -    os.system('set -x; rst2man {0} {1}'.format(filename, outdir + '/' + page[0] + '.' + str(page[4])))\r
65 +    os.system('set -x; rst2man {0} {1}/{2}.{3}'\r
66 +              .format(filename, outdir, page[0],page[4]))\r
67 -- \r
68 1.8.5.3\r
69 \r