Commit 6008ea90 authored by Stefan Behnel's avatar Stefan Behnel

another Py3 fix

parent 0d57141d
...@@ -395,5 +395,5 @@ def print_bytes(s, stream=sys.stdout): ...@@ -395,5 +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.write(b'\n')
out.flush() 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