commit | aa85f33e52fc2c3cab0bf066032481ba68b0f57f | [log] [tgz] |
---|---|---|
author | Brenden Blanco <bblanco@plumgrid.com> | Tue Mar 08 10:07:51 2016 -0800 |
committer | Brenden Blanco <bblanco@plumgrid.com> | Tue Mar 08 10:07:51 2016 -0800 |
tree | 6172d2cc66075bb387d1016d2c569632f01f10b7 | |
parent | afc11804330ecdb9f047bb88f07e48ebd97a3898 [diff] [blame] |
Enable python3 compatible strings in biosnoop Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
diff --git a/tools/biosnoop.py b/tools/biosnoop.py index 702c97b..3030e19 100755 --- a/tools/biosnoop.py +++ b/tools/biosnoop.py
@@ -154,7 +154,7 @@ if event.rwflag == 0: rwflg = "R" - if not re.match('\?', event.name): + if not re.match(b'\?', event.name): val = event.sector if start_ts == 0: