Remove opts loading from grain generation

This commit is contained in:
Thomas S Hatch 2011-04-29 16:14:55 -06:00
parent c750a52680
commit 2e09a39ae5

View File

@ -42,7 +42,7 @@ def grains():
module_dirs = [ module_dirs = [
os.path.join(distutils.sysconfig.get_python_lib(), 'salt/grains'), os.path.join(distutils.sysconfig.get_python_lib(), 'salt/grains'),
] ]
load = Loader(module_dirs, opts) load = Loader(module_dirs)
return load.gen_grains() return load.gen_grains()
def call(fun, arg=[], dirs=[]): def call(fun, arg=[], dirs=[]):