From: David Bremner Date: Thu, 13 Mar 2014 03:21:17 +0000 (+2100) Subject: [Patch v3 4/4] doc: cosmetic fix for prerst2man.py X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e74b9f5e99c38533b8a8a6a3fbe0ab7931def2d9;p=notmuch-archives.git [Patch v3 4/4] doc: cosmetic fix for prerst2man.py --- diff --git a/bc/0546538cce444760152832d23e7185ae7a8e2e b/bc/0546538cce444760152832d23e7185ae7a8e2e new file mode 100644 index 000000000..9b301be8a --- /dev/null +++ b/bc/0546538cce444760152832d23e7185ae7a8e2e @@ -0,0 +1,69 @@ +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 2CA82431FD8 + for ; Wed, 12 Mar 2014 20:21:41 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 fhtUSo4SuvaV for ; + Wed, 12 Mar 2014 20:21:37 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 2A564431FC0 + for ; Wed, 12 Mar 2014 20:21:37 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1WNwDA-0000Cg-75; Thu, 13 Mar 2014 00:21:36 -0300 +Received: (nullmailer pid 25683 invoked by uid 1000); Thu, 13 Mar 2014 + 03:21:29 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: [Patch v3 4/4] doc: cosmetic fix for prerst2man.py +Date: Thu, 13 Mar 2014 00:21:17 -0300 +Message-Id: <1394680877-25572-5-git-send-email-david@tethera.net> +X-Mailer: git-send-email 1.8.5.3 +In-Reply-To: <1394680877-25572-1-git-send-email-david@tethera.net> +References: + <1394680877-25572-1-git-send-email-david@tethera.net> +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: Thu, 13 Mar 2014 03:21:41 -0000 + +Fix a particular egregious combination of format and string +concatenation. +--- + doc/prerst2man.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/doc/prerst2man.py b/doc/prerst2man.py +index 720deb6..4591264 100644 +--- a/doc/prerst2man.py ++++ b/doc/prerst2man.py +@@ -59,4 +59,5 @@ for page in man_pages: + outfile.write("".join(lines)) + outfile.close() + +- os.system('set -x; rst2man {0} {1}'.format(filename, outdir + '/' + page[0] + '.' + str(page[4]))) ++ os.system('set -x; rst2man {0} {1}/{2}.{3}' ++ .format(filename, outdir, page[0],page[4])) +-- +1.8.5.3 +