Index: tools/determinism/compare_build_artifacts.py |
diff --git a/tools/determinism/compare_build_artifacts.py b/tools/determinism/compare_build_artifacts.py |
index 1d398e2c3c8c197f045b532276ae9d267c0c2ea6..62dae004bebd4207af4633206d41ec83550cc0b8 100755 |
--- a/tools/determinism/compare_build_artifacts.py |
+++ b/tools/determinism/compare_build_artifacts.py |
@@ -131,7 +131,7 @@ def diff_binary(first_filepath, second_filepath, file_len): |
result = '%d out of %d bytes are different (%.2f%%)' % ( |
diffs, file_len, 100.0 * diffs / file_len) |
if streams: |
- encode = lambda text: ''.join(i if 31 < ord(i) < 128 else '.' for i in text) |
+ encode = lambda text: ''.join(i if 31 < ord(i) < 127 else '.' for i in text) |
for offset, lhs_data, rhs_data in streams: |
lhs_line = '%s \'%s\'' % (lhs_data.encode('hex'), encode(lhs_data)) |
rhs_line = '%s \'%s\'' % (rhs_data.encode('hex'), encode(rhs_data)) |