commit | 55dcd2ee5a6183c748c0dd553a9400bc7de768a1 | [log] [tgz] |
---|---|---|
author | xingfeng2510 <xingfeng25100@163.com> | Sun Mar 13 18:13:57 2022 +0800 |
committer | yonghong-song <ys114321@gmail.com> | Wed Mar 16 00:22:38 2022 -0700 |
tree | b102ab71f10e049e5a7191f4aed80479989ee279 | |
parent | b2e363d1580878898cde51922fa910a9d1eb8b29 [diff] [blame] |
tools: Fix bytes<->str mixing in python3
diff --git a/tools/btrfsdist.py b/tools/btrfsdist.py index 72ea304..a9bf6e4 100755 --- a/tools/btrfsdist.py +++ b/tools/btrfsdist.py
@@ -231,7 +231,7 @@ if args.interval and (not args.notimestamp): print(strftime("%H:%M:%S:")) - dist.print_log2_hist(label, "operation") + dist.print_log2_hist(label, "operation", section_print_fn=bytes.decode) dist.clear() countdown -= 1