From 7d355ee6c5894ec78de8de9731308f12f1f37558 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 25 Apr 2018 14:49:24 -0400 Subject: [PATCH] report when loading data from the cache file Add debug output to show when we are loading data from the cache file instead of scanning the git history, to make debugging easier. Change-Id: I42e96679b8c9e0369a6bc463a7fc99f78d6d55f9 Signed-off-by: Doug Hellmann --- reno/loader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/reno/loader.py b/reno/loader.py index 6f8dcb0..ab39f39 100644 --- a/reno/loader.py +++ b/reno/loader.py @@ -66,6 +66,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