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

Unified Diff: devil/devil/devil_env.py

Issue 1568613004: [devil] Remove debug logging from sys.path manipulations. (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devil/devil/devil_env.py
diff --git a/devil/devil/devil_env.py b/devil/devil/devil_env.py
index 40bdb81d6ff12ab710221851c5f586b02caafc25..a9929abb90a5054dafaea18208d7b89b04094567 100644
--- a/devil/devil/devil_env.py
+++ b/devil/devil/devil_env.py
@@ -4,14 +4,12 @@
import contextlib
import json
-import logging
import os
import platform
import sys
import tempfile
import threading
-# TODO(jbudorick): Update this once dependency_manager moves to catapult.
CATAPULT_ROOT_PATH = os.path.abspath(os.path.join(
os.path.dirname(__file__), os.pardir, os.pardir))
DEPENDENCY_MANAGER_PATH = os.path.join(
@@ -24,8 +22,6 @@ def SysPath(path):
sys.path.append(path)
yield
if sys.path[-1] != path:
- logging.debug('Expected %s at the end of sys.path. Full sys.path: %s',
- path, str(sys.path))
sys.path.remove(path)
else:
sys.path.pop()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698