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

Unified Diff: client/run_isolated.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/run_isolated.py
diff --git a/client/run_isolated.py b/client/run_isolated.py
index 526b0861e3a6060436dac1e9d9bc9634c8d24f1a..c70d8039b74cd482f380e253e1c660deb6bd7060 100755
--- a/client/run_isolated.py
+++ b/client/run_isolated.py
@@ -25,6 +25,7 @@ import tempfile
from third_party.depot_tools import fix_encoding
from utils import file_path
+from utils import logging_utils
from utils import on_error
from utils import subprocess42
from utils import tools
@@ -272,7 +273,7 @@ def run_tha_test(isolated_hash, storage, cache, leak_temp_dir, extra_args):
def main(args):
tools.disable_buffering()
- parser = tools.OptionParserWithLogging(
+ parser = logging_utils.OptionParserWithLogging(
usage='%prog <options>',
version=__version__,
log_file=RUN_ISOLATED_LOG_FILE)
« no previous file with comments | « client/isolateserver.py ('k') | client/swarming.py » ('j') | client/utils/logging_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698