diff options
author | Ralph Nathan <ralphnathan@chromium.org> | 2015-03-24 10:41:17 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-03-26 18:44:28 +0000 |
commit | 599004268612f9d4f3f6eb63378321566e066600 (patch) | |
tree | ef52a449616d5fec688f524ee306b41f63f4c9ea /scripts/cros_mark_as_stable.py | |
parent | 58b3bb604f50b6810934cd18eee4f285d0e43522 (diff) | |
download | chromite-599004268612f9d4f3f6eb63378321566e066600.tar.gz |
logging: Use cros_logging instead of cros_build_lib.Error
In chromite, replace all calls to cros_build_lib.Error with calls to
cros_logging.error.
BUG=brillo:600
TEST=unittests + trybot
Change-Id: Ib036983fced3d90036d6dbf4bcebc39e317479c8
Reviewed-on: https://chromium-review.googlesource.com/262240
Reviewed-by: David Pursell <dpursell@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 'scripts/cros_mark_as_stable.py')
-rw-r--r-- | scripts/cros_mark_as_stable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cros_mark_as_stable.py b/scripts/cros_mark_as_stable.py index 8841bea3d..a9cb522eb 100644 --- a/scripts/cros_mark_as_stable.py +++ b/scripts/cros_mark_as_stable.py @@ -128,8 +128,8 @@ def PushChange(stable_branch, tracking_branch, dryrun, cwd): push_branch, stable_branch)] bad_cls = git.RunGit(cwd, bad_cl_cmd).output if bad_cls.strip() and not dryrun: - cros_build_lib.Error('The Uprev stage found changes from users other' - ' than chrome-bot:\n\n%s', bad_cls) + logging.error('The Uprev stage found changes from users other than ' + 'chrome-bot:\n\n%s', bad_cls) raise AssertionError('Unexpected CLs found during uprev stage.') description = git.RunGit( |