Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: client/isolateserver.py

Issue 1233303003: Migrate and merge logging_utils from swarming_bot into client/utils. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/isolateserver.py
diff --git a/client/isolateserver.py b/client/isolateserver.py
index e90a00482af0e497bd863489e69cb4466007e101..904d242884a695edb7091f9b428d3e2e8c38fe09 100755
--- a/client/isolateserver.py
+++ b/client/isolateserver.py
@@ -28,6 +28,7 @@ from third_party.depot_tools import fix_encoding
from third_party.depot_tools import subcommand
from utils import file_path
+from utils import logging_utils
from utils import lru
from utils import net
from utils import on_error
@@ -2180,9 +2181,9 @@ def process_cache_options(options):
return MemoryCache()
-class OptionParserIsolateServer(tools.OptionParserWithLogging):
+class OptionParserIsolateServer(logging_utils.OptionParserWithLogging):
def __init__(self, **kwargs):
- tools.OptionParserWithLogging.__init__(
+ logging_utils.OptionParserWithLogging.__init__(
self,
version=__version__,
prog=os.path.basename(sys.modules[__name__].__file__),
@@ -2190,7 +2191,7 @@ class OptionParserIsolateServer(tools.OptionParserWithLogging):
auth.add_auth_options(self)
def parse_args(self, *args, **kwargs):
- options, args = tools.OptionParserWithLogging.parse_args(
+ options, args = logging_utils.OptionParserWithLogging.parse_args(
self, *args, **kwargs)
auth.process_auth_options(self, options)
return options, args
« no previous file with comments | « client/isolate.py ('k') | client/run_isolated.py » ('j') | client/utils/logging_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698