Reveal cumulative attributes from Targets

pull/2458/head
Jimmy Brisson 2016-08-12 16:49:54 -05:00
parent 57af5cd053
commit 9d09f8e049
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -59,7 +59,7 @@ def cached(func):
class Target:
# Cumulative attributes can have values appended to them, so they
# 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)
__py_targets = set()