Allow overriding of non-cumulative target attributes

pull/4387/head
Jimmy Brisson 2017-05-24 13:19:58 -05:00 committed by Martin Kojtal
parent 6b0db0d8c7
commit caa50cb8a8
1 changed files with 4 additions and 0 deletions

View File

@ -644,6 +644,10 @@ class Config(object):
label)
elif name in self.__unused_overrides:
pass
elif (name.startswith("target.") and
unit_kind is "application"):
_, attribute = name.split(".")
setattr(self.target, attribute, val)
else:
self.config_errors.append(
ConfigException(