Double check that master top is in config

This commit is contained in:
Thomas S Hatch 2013-03-07 15:18:05 -07:00
parent 5d8b038d53
commit 45959aee33

View File

@ -711,6 +711,8 @@ class AESFuncs(object):
if 'grains' in load['opts']:
grains = load['opts']['grains']
for fun in self.tops:
if not fun in opts.get('master_tops', {}):
continue
try:
ret.update(self.tops[fun](opts=opts, grains=grains))
except Exception as exc: