mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +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:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user