Py3: Split on byte newlines in pathod.log

This commit is contained in:
Shadab Zafar 2016-06-08 22:32:48 +05:30 committed by Thomas Kriechbaumer
parent 22a94f06e6
commit 03ce09ca99

View File

@ -62,7 +62,7 @@ class LogCtx(object):
for line in strutils.hexdump(data):
self("\t%s %s %s" % line)
else:
for i in strutils.clean_bin(data).split("\n"):
for i in strutils.clean_bin(data).split(b"\n"):
self("\t%s" % i)
def __call__(self, line):