1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 10:51:13 +01:00

Parsers: Fixed spelling and error message

This commit is contained in:
Marc Bonnici 2017-03-14 16:40:37 +00:00
parent 5c01e84077
commit f175e63bc5

View File

@ -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)