diff --git a/action_plugins/command_parser.py b/action_plugins/command_parser.py index 40a7faf..961d017 100644 --- a/action_plugins/command_parser.py +++ b/action_plugins/command_parser.py @@ -245,6 +245,9 @@ def build_update(self, path, child, value, expand=False): working_set = update_set if expand is True: + for key in path.split('.'): + working_set[key] = dict() + working_set = working_set[key] working_set[child] = {} for item in value: working_set[child] = self.rec_update(working_set[child], item)