doc: cosmetic fix for prerst2man.py

Fix a particular egregious combination of format and string
concatenation.
This commit is contained in:
David Bremner 2014-03-13 00:21:17 -03:00
parent beef0a8f55
commit 4430b14106

View file

@ -59,4 +59,5 @@ for page in man_pages:
outfile.write("".join(lines)) outfile.write("".join(lines))
outfile.close() 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]))