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

Unified Diff: build/android/pylib/utils/emulator.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/pylib/utils/emulator.py
diff --git a/build/android/pylib/utils/emulator.py b/build/android/pylib/utils/emulator.py
index 162bcb8aaa1b8db873fc3da8ad7c56c78db41110..5da578730cca227f06e962f024aa8d836f37f0f1 100644
--- a/build/android/pylib/utils/emulator.py
+++ b/build/android/pylib/utils/emulator.py
@@ -22,9 +22,6 @@ from pylib import constants
from pylib import pexpect
from pylib.utils import time_profile
-import errors
-import run_command
-
# SD card size
SDCARD_SIZE = '512M'
@@ -116,7 +113,7 @@ def DeleteAllTempAVDs():
if 'run_tests_avd' in avd_name:
cmd = ['android', '-s', 'delete', 'avd', '--name', avd_name]
cmd_helper.RunCmd(cmd)
- logging.info('Delete AVD %s' % avd_name)
+ logging.info('Delete AVD %s', avd_name)
class PortPool(object):
@@ -432,6 +429,7 @@ class Emulator(object):
self.popen.kill()
self.popen = None
+ # pylint: disable=unused-argument
def _ShutdownOnSignal(self, _signum, _frame):
logging.critical('emulator _ShutdownOnSignal')
for sig in self._SIGNALS:

Powered by Google App Engine
This is Rietveld 408576698