From: Karel Kočí Date: Tue, 22 Sep 2015 14:42:27 +0000 (+0200) Subject: Fix commit ad69a1 X-Git-Tag: v201509^0 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/linux-conf-perf.git/commitdiff_plain/47669028715fd1319219862e12a4ad5698409a6b?ds=sidebyside Fix commit ad69a1 --- diff --git a/scripts/boot.py b/scripts/boot.py index c12bb79..5d992f1 100644 --- a/scripts/boot.py +++ b/scripts/boot.py @@ -39,7 +39,7 @@ def boot(config, to_database = True): txt = '' for ln in out: for c in ln: - if c == b'\0': - c = ' ' - txt += ln + '\n' + if not c.encode(sys.getdefaultencoding()) == b'\0': + txt += c + txt += '\n' dtb.add_measure(txt, result, config.id, value)