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 <doug@doughellmann.com>
This commit is contained in:
parent
c985f88a53
commit
65a69398b8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user