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