Convert example configs to python
Fixes: #4627 Change-Id: I1049af9fa2f3f9ec06e55811dc9ecfa5f359c805
This commit is contained in:
@@ -35,7 +35,7 @@ class SimBase:
|
||||
extra_params = cfgdict.pop('extra_params', '') or cfgdict.pop('.extra_params', '')
|
||||
attrs = {}
|
||||
if extra_params:
|
||||
for k in extra_params.split(','):
|
||||
for k in extra_params['default'].split(','):
|
||||
k = k.strip()
|
||||
attrs[k] = Parameter('extra_param: %s' % k.strip(),
|
||||
datatype=FloatRange(),
|
||||
|
||||
Reference in New Issue
Block a user