From 4430b14106ce0d43c9f0387d442b50da370951e0 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 13 Mar 2014 00:21:17 -0300 Subject: [PATCH] doc: cosmetic fix for prerst2man.py 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 720deb68..45912645 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]))