mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
Framework/Workload: Fix incorrect error message being reported
This commit is contained in:
parent
a289a21cbc
commit
d3a2242dd3
@ -594,7 +594,7 @@ class PackageHandler(object):
|
||||
else:
|
||||
if len(installed_versions) == 1:
|
||||
self.package_name = installed_versions[0]
|
||||
else:
|
||||
elif len(installed_versions) > 1:
|
||||
msg = 'Package version not set and multiple versions found on device'
|
||||
raise WorkloadError(msg)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user