summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorRalph Nathan <ralphnathan@chromium.org>2015-05-28 15:56:03 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-05-29 01:37:39 +0000
commitd61dc9b690de36779960a9c6ceb0cc29159b006d (patch)
tree301fa35634ee971e9ae9328de22a48910efe0da8 /cli
parent676d241e004aec286210472cb4e4109a8585a9e6 (diff)
downloadchromite-d61dc9b690de36779960a9c6ceb0cc29159b006d.tar.gz
cros lint: Fix logging level
Changing the default logging level of cros commands made it so that cros lint gave no output. This CL changes it so cros lint produces output even at logging level notice. BUG=chromium:493394 TEST=manual test Change-Id: I3f2d2cb1acd0a2cc117a4e03fadb0bcb6b36e09b Reviewed-on: https://chromium-review.googlesource.com/273915 Reviewed-by: Don Garrett <dgarrett@chromium.org> Commit-Queue: Ralph Nathan <ralphnathan@chromium.org> Trybot-Ready: Ralph Nathan <ralphnathan@chromium.org> Tested-by: Ralph Nathan <ralphnathan@chromium.org>
Diffstat (limited to 'cli')
-rw-r--r--cli/cros/cros_lint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/cros/cros_lint.py b/cli/cros/cros_lint.py
index c5832d894..f867d9dc9 100644
--- a/cli/cros/cros_lint.py
+++ b/cli/cros/cros_lint.py
@@ -103,8 +103,8 @@ CPPLINT_OUTPUT_FORMAT_MAP = {
def _LinterRunCommand(cmd, debug, **kwargs):
"""Run the linter with common RunCommand args set as higher levels expect."""
- return cros_build_lib.RunCommand(
- cmd, error_code_ok=True, print_cmd=debug, **kwargs)
+ return cros_build_lib.RunCommand(cmd, error_code_ok=True, print_cmd=debug,
+ debug_level=logging.NOTICE, **kwargs)
def _CpplintFile(path, output_format, debug):