summaryrefslogtreecommitdiff
path: root/asciidoc
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-12-20 20:50:05 +0100
committerGitHub <noreply@github.com>2021-12-20 14:50:05 -0500
commitec53f095bdac9cb55643579eb47f801e73d185e1 (patch)
tree634e368f0d01598a162b183679fd4245b8606b59 /asciidoc
parent98f24eb6fe5ebaddd305a78a4d0de8927822f5ac (diff)
downloadasciidoc-py3-ec53f095bdac9cb55643579eb47f801e73d185e1.tar.gz
a2x: fix index out of range in exec path print (#228)
Diffstat (limited to 'asciidoc')
-rw-r--r--asciidoc/a2x.py5
1 files changed, 1 insertions, 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: