Reveal cumulative attributes from Targets

pull/2499/head
Jimmy Brisson 2016-08-12 16:49:54 -05:00 committed by 0xc0170
parent 7600a322f5
commit 5755127fb8
2 changed files with 2 additions and 2 deletions

View File

@ -396,7 +396,7 @@ class Config(object):
self.cumulative_overrides = {key: ConfigCumulativeOverride(key) self.cumulative_overrides = {key: ConfigCumulativeOverride(key)
for key in for key in
Target._Target__cumulative_attributes} Target.cumulative_attributes}
self._process_config_and_overrides(self.app_config_data, {}, "app", self._process_config_and_overrides(self.app_config_data, {}, "app",
"application") "application")

View File

@ -59,7 +59,7 @@ def cached(func):
class Target: class Target:
# Cumulative attributes can have values appended to them, so they # Cumulative attributes can have values appended to them, so they
# need to be computed differently than regular attributes # need to be computed differently than regular attributes
__cumulative_attributes = ['extra_labels', 'macros', 'device_has', 'features'] cumulative_attributes = ['extra_labels', 'macros', 'device_has', 'features']
# List of targets that were added dynamically using "add_py_targets" (see below) # List of targets that were added dynamically using "add_py_targets" (see below)
__py_targets = set() __py_targets = set()