andry81/tacklelib

View on GitHub
python_patches/fcache/cache.py.diff

Summary

Maintainability
Test Coverage
--- cache.py    Sun Nov 10 17:36:55 2019 UTC
+++ cache.py    Sun Nov 10 17:37:07 2019 UTC
@@ -256,7 +256,7 @@
                 return self._loads(f.read())
         except (IOError, OSError):
             logger.warning('Error opening file: {}'.format(filename))
-            return None
+            raise
 
     def __setitem__(self, key, value):
         ekey = self._encode_key(key)