solve AttributeError: 'module' object has no attribute 'exception'

This commit is contained in:
Rolf Fokkens 2016-05-29 16:06:59 +02:00
parent 6f7fda0354
commit eaf42ca892

View file

@ -1275,7 +1275,7 @@ class AESFuncs(object):
try:
salt.utils.job.store_job(
self.opts, load, event=self.event, mminion=self.mminion)
except salt.exception.SaltCacheError:
except salt.exceptions.SaltCacheError:
log.error('Could not store job information for load: {0}'.format(load))
def _syndic_return(self, load):