fixed cache in case of use in middle of "lock tables"...

This commit is contained in:
Adolfo Gómez García 2018-03-08 20:29:28 +01:00
parent 8162230f23
commit f6d78201cb

View File

@ -74,6 +74,10 @@ class Cache(object):
Cache.misses += 1
logger.debug('key not found: {}'.format(skey))
return defValue
except Exception as e:
Cache.misses += 1
logger.debug('Cache inaccesible: {}:{}'.format(skey, e))
return defValue
def remove(self, skey):
'''