[Patch v3 4/4] doc: cosmetic fix for prerst2man.py
David Bremner
david at tethera.net
Wed Mar 12 20:21:17 PDT 2014
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
More information about the notmuch
mailing list