'and' on the next line

This commit is contained in:
Mircea Ulinic 2017-03-31 16:29:48 +00:00
parent 3a0ca3e950
commit 31af43812d

View File

@ -3208,8 +3208,8 @@ class ProxyMinion(Minion):
# proxy keepalive # proxy keepalive
proxy_alive_fn = fq_proxyname+'.alive' proxy_alive_fn = fq_proxyname+'.alive'
if (proxy_alive_fn in self.proxy if (proxy_alive_fn in self.proxy
and 'status.proxy_reconnect' in self.functions and and 'status.proxy_reconnect' in self.functions
self.opts.get('proxy_keep_alive', True)): and self.opts.get('proxy_keep_alive', True)):
# if `proxy_keep_alive` is either not specified, either set to False does not retry reconnecting # if `proxy_keep_alive` is either not specified, either set to False does not retry reconnecting
self.schedule.add_job({ self.schedule.add_job({
'__proxy_keepalive': '__proxy_keepalive':