Report internal config sources

This commit is contained in:
Unrud 2020-01-12 23:32:27 +01:00
parent 967b6a463d
commit d3d11d0ec8

View File

@ -408,10 +408,8 @@ class Configuration:
def log_config_sources(self): def log_config_sources(self):
"""Inspect all external config sources and write problems to logger.""" """Inspect all external config sources and write problems to logger."""
for config, source, internal in self._configs: for config, source, _ in self._configs:
if internal:
continue
if config is self.SOURCE_MISSING: if config is self.SOURCE_MISSING:
logger.info("Skipped missing %s", source) logger.info("Skipped missing %s", source)
else: else:
logger.info("Parsed %s", source) logger.info("Loaded %s", source)