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

Unified Diff: build/android/devil/android/logcat_monitor.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix appurify_sanitized import-errors Created 5 years, 3 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: build/android/devil/android/logcat_monitor.py
diff --git a/build/android/devil/android/logcat_monitor.py b/build/android/devil/android/logcat_monitor.py
index e717377df0109dcda85e4ee447d4654db9844716..d1622309cec3327a6be4cb6752c37963a9a155c8 100644
--- a/build/android/devil/android/logcat_monitor.py
+++ b/build/android/devil/android/logcat_monitor.py
@@ -4,16 +4,10 @@
# pylint: disable=unused-argument
-import collections
-import itertools
import logging
-import subprocess
-import tempfile
-import time
import re
from devil.android import decorators
-from devil.android import device_errors
from devil.android.sdk import adb_wrapper
@@ -112,6 +106,7 @@ class LogcatMonitor(object):
log_level = r'[VDIWEF]'
if component is None:
component = r'[^\s:]+'
+ # pylint: disable=protected-access
threadtime_re = re.compile(
type(self)._THREADTIME_RE_FORMAT % (
proc_id, thread_id, log_level, component, message_regex))
« no previous file with comments | « build/android/devil/android/device_utils_test.py ('k') | build/android/devil/android/logcat_monitor_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698