diff options
author | Jonathan Metzman <metzman@chromium.org> | 2020-12-07 14:45:47 -0800 |
---|---|---|
committer | Jonathan Metzman <metzman@chromium.org> | 2020-12-07 14:45:47 -0800 |
commit | e193d591485ccbfdb845dff5e6024c7842477827 (patch) | |
tree | fddd84ea3dc6c1df5c1ccfbd620a309af802cb6c /infra/utils.py | |
parent | ecffb3f662086420d829a060bef6e11b95c586b8 (diff) | |
download | oss-fuzz-e193d591485ccbfdb845dff5e6024c7842477827.tar.gz |
Revert "Use print for printing stacktrace instead of using log."
This reverts commit ecffb3f662086420d829a060bef6e11b95c586b8.
Commit should not have been committed to master.
Diffstat (limited to 'infra/utils.py')
-rw-r--r-- | infra/utils.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/infra/utils.py b/infra/utils.py index 0b35d7970..1cde40114 100644 --- a/infra/utils.py +++ b/infra/utils.py @@ -18,7 +18,6 @@ import os import re import stat import subprocess -import sys import helper @@ -128,13 +127,3 @@ def is_fuzz_target_local(file_path): with open(file_path, 'rb') as file_handle: return file_handle.read().find(FUZZ_TARGET_SEARCH_STRING.encode()) != -1 - - -def print(string): - """Print that can print a binary string.""" - if isinstance(string, bytes): - string += b'\n' - else: - string += '\n' - sys.stdout.buffer.write(string) - sys.stdout.flush() |