mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
target/descriptor: Fix generate target default config
Was previously expecting a dictionary of parameter attributes however the actual type is a list.
This commit is contained in:
parent
2158dd047e
commit
52dca17fef
@ -111,8 +111,8 @@ class TargetDescription(object):
|
||||
'conn_params', 'assistant_params']
|
||||
config = {}
|
||||
for pattr in param_attrs:
|
||||
for n, p in getattr(self, pattr).itervalues():
|
||||
config[n] = p.default
|
||||
for p in getattr(self, pattr):
|
||||
config[p.name] = p.default
|
||||
return config
|
||||
|
||||
def _set(self, attr, vals):
|
||||
|
Loading…
x
Reference in New Issue
Block a user