1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 09:50:07 +02:00

"No config.py found" should warning level, until people get use to it

Since !335 changed the long standing behavior, now allowing `fdroid` to
work without a config.py being present, this message should be quite
visible in case people are expecting `fdroid` to fail when there is no
config.py present.
This commit is contained in:
Hans-Christoph Steiner 2017-09-16 10:41:12 +02:00
parent c7d45b9515
commit 9712fac011

View File

@ -240,7 +240,7 @@ def read_config(opts, config_file='config.py'):
code = compile(f.read(), config_file, 'exec')
exec(code, None, config)
else:
logging.debug("No config.py found - using defaults.")
logging.warning("No config.py found - using defaults.")
for k in ('mirrors', 'install_list', 'uninstall_list', 'serverwebroot', 'servergitroot'):
if k in config: