1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 20:11:20 +00:00

Fix: properly handle core_names and core_clusters in the agenda

Keep duplicates in lists when merging device_config dict from agenda
with the rest of the config; This will ensure that core_name sand
core_clusters aren't reduced to just unique elements.
This commit is contained in:
Sergei Trofimov 2015-04-28 12:44:08 +01:00
parent bb6421b339
commit 97efd11b86

View File

@ -676,7 +676,8 @@ class RunConfiguration(object):
def _finalize_device_config(self):
self._load_default_config_if_necessary(self.device)
config = _merge_config_dicts(self._raw_config.get(self.device),
self._raw_config.get('device_config', {}))
self._raw_config.get('device_config', {}),
list_duplicates='all')
self.device_config = config
def _load_default_config_if_necessary(self, name):