mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Lint
This commit is contained in:
parent
1e5d40584d
commit
aa76f2f3b8
@ -42,7 +42,7 @@ import salt.utils.verify
|
||||
import salt.utils.jid
|
||||
import salt.syspaths as syspaths
|
||||
from salt.exceptions import (
|
||||
EauthAuthenticationError, SaltInvocationError, SaltReqTimeoutError
|
||||
EauthAuthenticationError, SaltInvocationError, SaltReqTimeoutError, SaltClientError
|
||||
)
|
||||
import salt.ext.six as six
|
||||
|
||||
@ -1113,7 +1113,7 @@ class LocalClient(object):
|
||||
|
||||
try:
|
||||
data = self.returners['{0}.get_jid'.format(self.opts['master_job_cache'])](jid)
|
||||
except Exception:
|
||||
except Exception as exc:
|
||||
raise SaltClientError('Could not examine master job cache. '
|
||||
'Error occured in {0} returner. '
|
||||
'Exception details: {1}'.format(self.opts['master_job_cache'],
|
||||
|
Loading…
Reference in New Issue
Block a user