Use cros_logging instead of cros_build_lib.Debug
Replace all calls to cros_build_lib.Debug with cros_logging.debug
BUG=brillo:600
TEST=unittests
Change-Id: I2a9c720c7634c1a8395d3f07bea18d48c3a072b4
Reviewed-on: https://chromium-review.googlesource.com/261937
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Trybot-Ready: Ralph Nathan <ralphnathan@chromium.org>
Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Commit-Queue: Ralph Nathan <ralphnathan@chromium.org>
diff --git a/scripts/cros_generate_breakpad_symbols.py b/scripts/cros_generate_breakpad_symbols.py
index cc8e005..7c485cc 100644
--- a/scripts/cros_generate_breakpad_symbols.py
+++ b/scripts/cros_generate_breakpad_symbols.py
@@ -235,13 +235,13 @@
continue
elif debug_file.endswith('.ko.debug'):
- cros_build_lib.Debug('Skipping kernel module %s', debug_file)
+ logging.debug('Skipping kernel module %s', debug_file)
continue
elif os.path.islink(debug_file):
# The build-id stuff is common enough to filter out by default.
if '/.build-id/' in debug_file:
- msg = cros_build_lib.Debug
+ msg = logging.debug
else:
msg = cros_build_lib.Warning
msg('Skipping symbolic link %s', debug_file)