mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
Parsers: Fixed spelling and error message
This commit is contained in:
parent
5c01e84077
commit
f175e63bc5
@ -224,8 +224,8 @@ def _pop_aliased(d, names, entry_id):
|
||||
name_count = sum(1 for n in names if n in d)
|
||||
if name_count > 1:
|
||||
names_list = ', '.join(names)
|
||||
msg = 'Inivalid workload entry "{}": at moust one of ({}}) must be specified.'
|
||||
raise ConfigError(msg.format(workload_entry['id'], names_list))
|
||||
msg = 'Invalid workload entry "{}": at most one of ({}}) must be specified.'
|
||||
raise ConfigError(msg.format(entry_id, names_list))
|
||||
for name in names:
|
||||
if name in d:
|
||||
return d.pop(name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user