Merge pull request #28889 from jfindlay/aggregate

state compiler: relax aggregate conditional check
This commit is contained in:
Mike Place 2015-11-16 10:39:24 -07:00
commit 16ebda999e

View File

@ -652,7 +652,7 @@ class State(object):
Execute the aggregation systems to runtime modify the low chunk
'''
agg_opt = self.functions['config.option']('state_aggregate')
if low.get('aggregate') is True:
if 'aggregate' in low:
agg_opt = low['aggregate']
if agg_opt is True:
agg_opt = [low['state']]