diff options
author | David Bremner <david@tethera.net> | 2014-03-13 00:21:17 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-03-18 07:46:08 -0300 |
commit | 4430b14106ce0d43c9f0387d442b50da370951e0 (patch) | |
tree | d34016c99a7d0b43970f271fd101cfed70b63312 /doc | |
parent | beef0a8f5593eee0f84b2b0fa01017c1c9621659 (diff) |
doc: cosmetic fix for prerst2man.py
Fix a particular egregious combination of format and string
concatenation.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/prerst2man.py | 3 |
1 files changed, 2 insertions, 1 deletions
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])) |