Combine exception handling to simplify code (#29096)

This commit is contained in:
Toshio Kuratomi 2017-09-07 10:20:44 -07:00 committed by ansibot
parent 15fd23c6be
commit e1e2d08508

View file

@ -111,7 +111,6 @@ class BaseFileCacheModule(BaseCacheModule):
raise KeyError
cachefile = "%s/%s" % (self._cache_dir, key)
try:
try:
value = self._load(cachefile)
self._cache[key] = value