1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-31 07:04:17 +00:00

Pylint fixes

- apklaunch: ignore package (re-)assignment outside init.
- applaunch: factored out part of result processing into a separate
  method.
This commit is contained in:
Sergei Trofimov
2016-01-22 12:11:01 +00:00
parent 98b19328de
commit 85fb5e3684
2 changed files with 17 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ class ApkLaunchWorkload(Workload):
def setup(self, context):
apk_file = context.resolver.get(File(self, self.apk_file))
self.package = ApkInfo(apk_file).package
self.package = ApkInfo(apk_file).package # pylint: disable=attribute-defined-outside-init
self.logger.info('Installing {}'.format(apk_file))
return self.device.install(apk_file)