mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Fix pylint error
This commit is contained in:
parent
942001afad
commit
00fcd71312
@ -247,10 +247,10 @@ class ProcessManager(object):
|
||||
|
||||
if need_log_queue and 'log_queue' not in kwargs:
|
||||
if hasattr(self, 'log_queue'):
|
||||
kwargs['log_queue'] = self.log_queue
|
||||
kwargs['log_queue'] = self.log_queue
|
||||
else:
|
||||
kwargs['log_queue'] = (
|
||||
salt.log.setup.get_multiprocessing_logging_queue())
|
||||
kwargs['log_queue'] = (
|
||||
salt.log.setup.get_multiprocessing_logging_queue())
|
||||
|
||||
if type(multiprocessing.Process) is type(tgt) and issubclass(tgt, multiprocessing.Process):
|
||||
process = tgt(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user