Fix pylint issue

This commit is contained in:
Philipp Hansch 2017-05-29 23:15:22 +02:00
parent ad8cf371b8
commit 798cae51d4
No known key found for this signature in database
GPG Key ID: 667C8F4B5A698A60

View File

@ -184,7 +184,8 @@ class AsciiDoc:
with open(modified_src, 'w+', encoding='utf-8') as final_version:
final_version.write(title + "\n\n" + header + current_lines)
self.call(modified_src, dst, '--theme=qute', '-a toc', '-a toc-placement=manual')
asciidoc_args = ['--theme=qute', '-a toc', '-a toc-placement=manual']
self.call(modified_src, dst, *asciidoc_args)
def _build_website(self):
"""Prepare and build the website."""