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

wa: pep8 fixes

This commit is contained in:
Marc Bonnici
2018-07-04 17:44:55 +01:00
parent 4b86fa5aee
commit 925bc8b719
36 changed files with 88 additions and 86 deletions

View File

@@ -38,7 +38,7 @@ class DmesgInstrument(Instrument):
loglevel_file = '/proc/sys/kernel/printk'
def initialize(self, context): #pylint: disable=unused-argument
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')