1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-21 12:28:44 +00:00

pylint fixes.

This commit is contained in:
Sergei Trofimov 2016-10-17 11:02:41 +01:00
parent 8aa1bdc63d
commit 41b52178bb
3 changed files with 4 additions and 4 deletions

View File

@ -229,7 +229,7 @@ class ApkWorkload(Workload):
# Ensure the apk is setup on the device
if self.force_install:
self.force_install_apk(context, host_version, target_version)
self.force_install_apk(context, host_version)
elif self.check_apk:
self.prefer_host_apk(context, host_version, target_version)
else:
@ -244,7 +244,7 @@ class ApkWorkload(Workload):
self.device.execute('am kill-all') # kill all *background* activities
self.device.clear_logcat()
def force_install_apk(self, context, host_version, target_version):
def force_install_apk(self, context, host_version):
if host_version is None:
raise ResourceError("force_install is 'True' but could not find APK on the host")
try: