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

Unified Diff: client/isolate.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/isolate.py
diff --git a/client/isolate.py b/client/isolate.py
index 63b9db9a567087e78e4ea7e994c6bf87cdf25370..382ed09dc13025393b827e2d1f219b81bed4ebcb 100755
--- a/client/isolate.py
+++ b/client/isolate.py
@@ -34,6 +34,7 @@ from third_party import colorama
from third_party.depot_tools import fix_encoding
from third_party.depot_tools import subcommand
+from utils import logging_utils
from utils import file_path
from utils import tools
@@ -1200,7 +1201,7 @@ def process_isolate_options(parser, options, cwd=None, require_isolated=True):
def main(argv):
dispatcher = subcommand.CommandDispatcher(__name__)
- parser = tools.OptionParserWithLogging(
+ parser = logging_utils.OptionParserWithLogging(
version=__version__, verbose=int(os.environ.get('ISOLATE_DEBUG', 0)))
try:
return dispatcher.execute(parser, argv)
« no previous file with comments | « client/auth.py ('k') | client/isolateserver.py » ('j') | client/utils/logging_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698