change returners to be a gen_functions loader

This commit is contained in:
Thomas S Hatch 2012-10-31 12:56:23 -06:00
parent c4a1a440e3
commit 8d87a200ff

View File

@ -90,7 +90,7 @@ def returners(opts, functions):
load = _create_loader(opts, 'returners', 'returner')
pack = {'name': '__salt__',
'value': functions}
return load.filter_func('returner', pack)
return load.gen_functions(pack)
def pillars(opts, functions):