1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 11:22:41 +01:00

wa/instruments: pylint/fixes

This commit is contained in:
Marc Bonnici
2018-07-03 14:25:33 +01:00
parent 0b8501e010
commit 6afd710bd1
7 changed files with 18 additions and 20 deletions

View File

@@ -38,7 +38,7 @@ class DmesgInstrument(Instrument):
loglevel_file = '/proc/sys/kernel/printk'
def initialize(self, context):
def initialize(self, context): #pylint: disable=unused-argument
self.need_root = self.target.os == 'android'
if self.need_root and not self.target.is_rooted:
raise InstrumentError('Need root to collect dmesg on Android')