From 65a69398b8c7b8452303ad360d51c489b022ab00 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 16 May 2017 14:13:03 -0400 Subject: [PATCH] lower the log level for an error message Sphinx 1.6.1 now interprets error and warning log messages as reasons to abort the build when strict mode is enabled. Change the log level for some calls that weren't really errors to begin with. Change-Id: I688ee8b57e839ba6146633365be9ba8f92e3c7df Closes-Bug: #1691224 Signed-off-by: Doug Hellmann --- reno/scanner.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reno/scanner.py b/reno/scanner.py index e64fb97..6296a74 100644 --- a/reno/scanner.py +++ b/reno/scanner.py @@ -64,7 +64,7 @@ def _note_file(name): if fnmatch.fnmatch(name, '*.yaml'): return True else: - LOG.warning('found and ignored extra file %s', name) + LOG.info('found and ignored extra file %s', name) return False @@ -233,7 +233,7 @@ class _ChangeAggregator(object): if uid not in self._deleted_bad_uids: raise ValueError(msg) else: - LOG.warning(msg) + LOG.info(msg) else: raise ValueError('Unrecognized changes: {!r}'.format( changes)) @@ -634,7 +634,7 @@ class Scanner(object): return tags[-1] else: # Naughty, naughty, branching without tagging. - LOG.error( + LOG.info( ('There is no tag on commit %s at the base of %s. ' 'Branch scan short-cutting is disabled.'), c.commit.sha().hexdigest(), branch)