Commit a8d3e827 authored by Stefan Behnel's avatar Stefan Behnel

make print_bytes() helper terminate output with line ending

parent 3343a2e5
...@@ -395,3 +395,5 @@ def print_bytes(s, stream=sys.stdout): ...@@ -395,3 +395,5 @@ def print_bytes(s, stream=sys.stdout):
except AttributeError: except AttributeError:
out = stream # Py2 out = stream # Py2
out.write(s) out.write(s)
out.write('\n')
out.flush()
Markdown is supported
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