Commit 619b227e authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* wrap/python/ (automata): Use universal_newlines.

parent 64607af7
......@@ -366,7 +366,9 @@ def automata(*sources, timeout=None):
p = automaton_stream_parser(proc.stdout.fileno(),
filename, True)
# universal_newlines for str output instead of bytes
out = subprocess.check_output(filename[:-1], shell=True,
p = automaton_stream_parser(out, filename, True)
elif '\n' in filename:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment