mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
intersphinx: Fix invalid info message is shown even if no errors
This commit is contained in:
parent
43ee8d194d
commit
c55915b830
@ -254,7 +254,9 @@ def load_mappings(app):
|
|||||||
update = True
|
update = True
|
||||||
break
|
break
|
||||||
|
|
||||||
if len(failures) < len(invs):
|
if failures == []:
|
||||||
|
pass
|
||||||
|
elif len(failures) < len(invs):
|
||||||
logger.info("encountered some issues with some of the inventories,"
|
logger.info("encountered some issues with some of the inventories,"
|
||||||
" but they had working alternatives:")
|
" but they had working alternatives:")
|
||||||
for fail in failures:
|
for fail in failures:
|
||||||
|
Loading…
Reference in New Issue
Block a user