mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
target/descriptor: Cosmetic fixes
Fix typo and choose more descriptive variable name.
This commit is contained in:
parent
84a9526dd3
commit
53faf159e8
@ -637,7 +637,7 @@ class DefaultTargetDescriptor(TargetDescriptor):
|
||||
|
||||
def _override_params(self, params, overrides): # pylint: disable=no-self-use
|
||||
''' Returns a new list of parameters replacing any parameter with the
|
||||
correesponding parameter in overrides'''
|
||||
corresponding parameter in overrides'''
|
||||
if not overrides:
|
||||
return params
|
||||
param_map = {p.name: p for p in params}
|
||||
@ -647,11 +647,10 @@ class DefaultTargetDescriptor(TargetDescriptor):
|
||||
# Return the list of overriden parameters
|
||||
return list(param_map.values())
|
||||
|
||||
|
||||
def _get_item(self, item_tuple):
|
||||
cls, params, defaults = item_tuple
|
||||
cls_tuple, params, defaults = item_tuple
|
||||
updated_params = self._override_params(params, defaults)
|
||||
return cls, updated_params
|
||||
return cls_tuple, updated_params
|
||||
|
||||
|
||||
_adhoc_target_descriptions = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user