lint: Enable logging checker for cros_logging module
The 'logging-modules' pylint option allows us to apply the logging
checker to the cros_logging module.
Fixed all logging checker errors found by this new coverage.
BUG=none
TEST=`cros lint`: no more logging errors
Change-Id: I231f6f7bf376b7ebc433de3a23b2b1e73dd5fa9f
Reviewed-on: https://chromium-review.googlesource.com/1194187
Commit-Ready: Lann Martin <lannm@chromium.org>
Tested-by: Lann Martin <lannm@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/cros_install_debug_syms.py b/scripts/cros_install_debug_syms.py
index 7e9c331..df89a17 100644
--- a/scripts/cros_install_debug_syms.py
+++ b/scripts/cros_install_debug_syms.py
@@ -210,7 +210,7 @@
if urlparts.scheme not in ('file', ''):
# Don't fail the build on network errors. Print a warning message and
# continue.
- logging.warning('Could not get package index %s' % binhost)
+ logging.warning('Could not get package index %s', binhost)
return None
binhost = urlparts.path