--- /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 3BD7C431FCB\r
+ for <notmuch@notmuchmail.org>; Sat, 5 Apr 2014 10:31: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 dRHIIyim4Y7t for <notmuch@notmuchmail.org>;\r
+ Sat, 5 Apr 2014 10:31:33 -0700 (PDT)\r
+Received: from qmta03.westchester.pa.mail.comcast.net\r
+ (qmta03.westchester.pa.mail.comcast.net [76.96.62.32])\r
+ by olra.theworths.org (Postfix) with ESMTP id 7B9CD431FBF\r
+ for <notmuch@notmuchmail.org>; Sat, 5 Apr 2014 10:31:27 -0700 (PDT)\r
+Received: from omta14.westchester.pa.mail.comcast.net ([76.96.62.60])\r
+ by qmta03.westchester.pa.mail.comcast.net with comcast\r
+ id mEee1n0061HzFnQ53HXTRv; Sat, 05 Apr 2014 17:31:27 +0000\r
+Received: from odin.tremily.us ([24.18.63.50])\r
+ by omta14.westchester.pa.mail.comcast.net with comcast\r
+ id mHXS1n004152l3L3aHXSbc; Sat, 05 Apr 2014 17:31:27 +0000\r
+Received: from mjolnir.tremily.us (unknown [192.168.0.140])\r
+ by odin.tremily.us (Postfix) with ESMTPS id D615A1103C19;\r
+ Sat, 5 Apr 2014 10:31:25 -0700 (PDT)\r
+Received: (nullmailer pid 16919 invoked by uid 1000);\r
+ Sat, 05 Apr 2014 17:31:15 -0000\r
+From: "W. Trevor King" <wking@tremily.us>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 4/7] doc/prerst2man.py: Fix 'os.system' -> 'system' typo\r
+Date: Sat, 5 Apr 2014 10:31:08 -0700\r
+Message-Id:\r
+ <c5ec510ac25c867ad600c475a0070a003440a4b8.1396718720.git.wking@tremily.us>\r
+X-Mailer: git-send-email 1.9.1.353.gc66d89d\r
+In-Reply-To: <cover.1396718720.git.wking@tremily.us>\r
+References: <cover.1396718720.git.wking@tremily.us>\r
+In-Reply-To: <cover.1396718720.git.wking@tremily.us>\r
+References: <cover.1396718720.git.wking@tremily.us>\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;\r
+ s=q20140121; t=1396719087;\r
+ bh=tCk4aI83KZLCueoxb41AMojN2EUy+40F1Pe5h1i6Ylk=;\r
+ h=Received:Received:Received:Received:From:To:Subject:Date:\r
+ Message-Id;\r
+ b=dO/b3vbo9aPoZyw/3MosD6cV3iTclQdlxEnOUc4tyIrnuz0JXSG+4BtGVmnhkBieQ\r
+ 36+0cTP+XNOrHVflZ0bAb0+Y0OwfjNCsmS6rpDkcb8oE/M3nJPofsrPnasJPalKH6i\r
+ OI25bFChvqCPjeobJjozGmQpc+tvP4tFo8CO83sPSmfsHKt586faxp8EAADP5mvyDx\r
+ 2q7bsUua9uuaZybXGG7T1Zkx87SvCx0c4HavB5XuxVUUROJ4oOF8Meu+FI89DaSDZh\r
+ GxGrsYyHAiUIGqpBy8hN51yEFr+AqgfJ0m7K1UwbTNAcqnKxjLdAcGhpzVwC04lUfI\r
+ okUV69siFlqww==\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, 05 Apr 2014 17:31:37 -0000\r
+\r
+Avoid:\r
+\r
+ $ make HAVE_SPHINX=0 HAVE_RST2MAN=1 build-man\r
+ python ./doc/prerst2man.py ./doc doc/_build/man\r
+ Traceback (most recent call last):\r
+ File "./doc/prerst2man.py", line 65, in <module>\r
+ os.system('set -x; rst2man {0} {1}/{2}.{3}'\r
+ NameError: name 'os' is not defined\r
+ make: *** [doc/_build/man/man1/notmuch.1] Error 1\r
+\r
+by using system directly. We don't need the 'os.' namespacing,\r
+because the function was imported with:\r
+\r
+ from os import makedirs, system\r
+---\r
+ doc/prerst2man.py | 4 ++--\r
+ 1 file changed, 2 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/doc/prerst2man.py b/doc/prerst2man.py\r
+index 108f4a3..437dea9 100644\r
+--- a/doc/prerst2man.py\r
++++ b/doc/prerst2man.py\r
+@@ -59,5 +59,5 @@ for page in man_pages:\r
+ outfile.write("".join(lines))\r
+ outfile.close()\r
+ \r
+- os.system('set -x; rst2man {0} {1}/{2}.{3}'\r
+- .format(filename, outdir, page[0],page[4]))\r
++ system('set -x; rst2man {0} {1}/{2}.{3}'\r
++ .format(filename, outdir, page[0], page[4]))\r
+-- \r
+1.9.1.353.gc66d89d\r
+\r