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: |