projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beef0a8
)
doc: cosmetic fix for prerst2man.py
author
David Bremner
<david@tethera.net>
Thu, 13 Mar 2014 03:21:17 +0000
(
00:21
-0300)
committer
David Bremner
<david@tethera.net>
Tue, 18 Mar 2014 10:46:08 +0000
(07:46 -0300)
Fix a particular egregious combination of format and string
concatenation.
doc/prerst2man.py
patch
|
blob
|
history
diff --git
a/doc/prerst2man.py
b/doc/prerst2man.py
index 720deb682d49beacad8883d86e358fd81d2bd51b..459126454a335f24dab05d4ee2048b1f5a0ec113 100644
(file)
--- 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]))