commit | 2c3d9c397eb815cea4b11e185a38def273183e44 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <[email protected]> | Thu Feb 06 14:46:40 2020 -0500 |
committer | Commit Bot <[email protected]> | Fri Feb 07 23:45:31 2020 +0000 |
tree | 04a892cd8389725260bd468d29a3315950a73b1a | |
parent | 735622b6191dc450f7a179e0559e87f9f2d795e9 [diff] [blame] |
[autotest] avoid chromite cros_logging module usage Chromite uses cros_logging for some additional helpers & log levels, none of which are used by autotest. Its only using the module for standard logging APIs, so switch over to logging directly. BUG=chromium:1049711 TEST=CQ passes Change-Id: If015d3fecb378536dfa4c848354e59af9822035e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2042358 Reviewed-by: Derek Beckett <[email protected]> Tested-by: Mike Frysinger <[email protected]> Commit-Queue: Mike Frysinger <[email protected]>
diff --git a/site_utils/pubsub_utils.py b/site_utils/pubsub_utils.py index 6d7670b..8a3a2f9 100755 --- a/site_utils/pubsub_utils.py +++ b/site_utils/pubsub_utils.py
@@ -10,13 +10,13 @@ from __future__ import print_function +import logging import os from apiclient import discovery from apiclient import errors from oauth2client.client import ApplicationDefaultCredentialsError from oauth2client.client import GoogleCredentials -from chromite.lib import cros_logging as logging # Cloud service PUBSUB_SERVICE_NAME = 'pubsub'