From 97efd11b861d7341018d9e09a7e267f7acd9b527 Mon Sep 17 00:00:00 2001 From: Sergei Trofimov Date: Tue, 28 Apr 2015 12:44:08 +0100 Subject: [PATCH] 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. --- wlauto/core/configuration.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wlauto/core/configuration.py b/wlauto/core/configuration.py index 725119ff..66ea706b 100644 --- a/wlauto/core/configuration.py +++ b/wlauto/core/configuration.py @@ -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):