Skip to content

Commit caa50cb

Browse files
theotherjimmy0xc0170
authored andcommitted
Allow overriding of non-cumulative target attributes
1 parent 6b0db0d commit caa50cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/config/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,10 @@ def _process_config_and_overrides(self, data, params, unit_name, unit_kind):
644644
label)
645645
elif name in self.__unused_overrides:
646646
pass
647+
elif (name.startswith("target.") and
648+
unit_kind is "application"):
649+
_, attribute = name.split(".")
650+
setattr(self.target, attribute, val)
647651
else:
648652
self.config_errors.append(
649653
ConfigException(

0 commit comments

Comments
 (0)