mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Remove opts loading from grain generation
This commit is contained in:
parent
c750a52680
commit
2e09a39ae5
@ -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=[]):
|
||||||
|
Loading…
Reference in New Issue
Block a user