From ec53f095bdac9cb55643579eb47f801e73d185e1 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 20 Dec 2021 20:50:05 +0100 Subject: a2x: fix index out of range in exec path print (#228) --- asciidoc/a2x.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/asciidoc/a2x.py b/asciidoc/a2x.py index da19173..2ba2df9 100644 --- a/asciidoc/a2x.py +++ b/asciidoc/a2x.py @@ -676,10 +676,7 @@ class A2X(AttrDict): options.append(('-a', 'a2x-format=%s' % self.format)) options.append(('--out-file', docbook_file)) - verbose("executing: asciidoc {} {}".format( - ' '.join(map(lambda x: "{}{}".format(x[0], " " + x[1] if x[1] else ""), options)), - self.asciidoc_file - )) + verbose("executing: asciidoc {}".format(options)) asciidoc.cli(flatten(['asciidoc'] + options + [self.asciidoc_file])) if not self.no_xmllint and XMLLINT: -- cgit v1.2.1