doc: cosmetic fix for prerst2man.py
authorDavid Bremner <david@tethera.net>
Thu, 13 Mar 2014 03:21:17 +0000 (00:21 -0300)
committerDavid 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

index 720deb682d49beacad8883d86e358fd81d2bd51b..459126454a335f24dab05d4ee2048b1f5a0ec113 100644 (file)
@@ -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]))