intersphinx: Fix invalid info message is shown even if no errors

This commit is contained in:
Takeshi KOMIYA 2018-01-31 01:21:46 +09:00
parent 43ee8d194d
commit c55915b830

View File

@ -254,7 +254,9 @@ def load_mappings(app):
update = True
break
if len(failures) < len(invs):
if failures == []:
pass
elif len(failures) < len(invs):
logger.info("encountered some issues with some of the inventories,"
" but they had working alternatives:")
for fail in failures: