mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Revert regression caused by #15848
This commit is contained in:
parent
5292f5d68d
commit
3782251ac6
@ -966,10 +966,6 @@ class Minion(MinionBase):
|
|||||||
# python needs to be able to reconstruct the reference on the other
|
# python needs to be able to reconstruct the reference on the other
|
||||||
# side.
|
# side.
|
||||||
instance = self
|
instance = self
|
||||||
# If we are running in multi-master mode, re-inject opts into module funcs
|
|
||||||
if instance.opts.get('multimaster', False):
|
|
||||||
for func in instance.functions:
|
|
||||||
sys.modules[instance.functions[func].__module__].__opts__ = self.opts
|
|
||||||
if self.opts['multiprocessing']:
|
if self.opts['multiprocessing']:
|
||||||
if sys.platform.startswith('win'):
|
if sys.platform.startswith('win'):
|
||||||
# let python reconstruct the minion on the other side if we're
|
# let python reconstruct the minion on the other side if we're
|
||||||
|
Loading…
Reference in New Issue
Block a user