diff --git a/dpdispatcher/contexts/ssh_context.py b/dpdispatcher/contexts/ssh_context.py index 3cab51d5..179e02fa 100644 --- a/dpdispatcher/contexts/ssh_context.py +++ b/dpdispatcher/contexts/ssh_context.py @@ -72,7 +72,7 @@ def __init__( # count = 1 # while not self._check_alive(): # if count == max_check: - # raise RuntimeError('cannot connect ssh after %s failures at interval %s s' % + # raise RuntimeError('cannot connect ssh after %d failures at interval %d s' % # (max_check, sleep_time)) # dlog.info('connection check failed, try to reconnect to ' + self.remote_host) # self._setup_ssh(hostname=self.remote_host,