Merge "report when loading data from the cache file"

This commit is contained in:
Zuul 2018-05-02 11:55:39 +00:00 committed by Gerrit Code Review
commit 5b8e276418
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class Loader(object):
LOG.debug('ignoring cache file %s', self._cache_filename)
if (not self._ignore_cache) and cache_file_exists:
LOG.debug('loading cache file %s', self._cache_filename)
with open(self._cache_filename, 'r') as f:
self._cache = yaml.safe_load(f.read())
# Save the cached scanner output to the same attribute