mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +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:
		| @@ -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): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user