1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 18:21:14 +00:00

Framework/Workload: Fix incorrect error message being reported

This commit is contained in:
Marc Bonnici 2017-11-07 10:41:34 +00:00 committed by setrofim
parent a289a21cbc
commit d3a2242dd3

View File

@ -594,7 +594,7 @@ class PackageHandler(object):
else: else:
if len(installed_versions) == 1: if len(installed_versions) == 1:
self.package_name = installed_versions[0] self.package_name = installed_versions[0]
else: elif len(installed_versions) > 1:
msg = 'Package version not set and multiple versions found on device' msg = 'Package version not set and multiple versions found on device'
raise WorkloadError(msg) raise WorkloadError(msg)