Skip to content

Commit

Permalink
Merge pull request diffblue#8440 from tautschnig/fix-python-syntax-error
Browse files Browse the repository at this point in the history
Fix Python syntax error in doxygen markdown preprocessor
  • Loading branch information
tautschnig committed Sep 5, 2024
2 parents d67648a + 1575214 commit 4ae54e6
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ def parse_arguments():


def pandoc(path, pandoc_write, pandoc_wrap, pandoc_filter=None):
args = {
'--write': pandoc_write,
'--wrap': pandoc_wrap
}
args = [
'--write', pandoc_write,
'--wrap', pandoc_wrap
]
if pandoc_filter:
args['--filter'] = Path(pandoc_filter).resolve()
args.extend(['--filter', Path(pandoc_filter).resolve()])


lines = subprocess.run(['pandoc', **args, path],
lines = subprocess.run(['pandoc', *args, path],
check=True,
text=True,
capture_output=True).stdout.splitlines()
Expand Down

0 comments on commit 4ae54e6

Please sign in to comment.