mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
remove cython loading from the minion, all module loading is now in the
loader
This commit is contained in:
parent
2371f11e24
commit
0c18e39df9
@ -42,15 +42,6 @@ class Minion(object):
|
|||||||
Pass in the options dict
|
Pass in the options dict
|
||||||
'''
|
'''
|
||||||
self.opts = opts
|
self.opts = opts
|
||||||
if opts['cython_enable'] is True:
|
|
||||||
try:
|
|
||||||
import pyximport
|
|
||||||
pyximport.install()
|
|
||||||
except ImportError:
|
|
||||||
self.opts['logger'].info(
|
|
||||||
"Cython is enabled in options though it's not present in "
|
|
||||||
"the system path. Skipping Cython modules."
|
|
||||||
)
|
|
||||||
self.mod_opts = self.__prep_mod_opts()
|
self.mod_opts = self.__prep_mod_opts()
|
||||||
self.functions, self.returners = self.__load_modules()
|
self.functions, self.returners = self.__load_modules()
|
||||||
self.authenticate()
|
self.authenticate()
|
||||||
|
Loading…
Reference in New Issue
Block a user