From 9712fac011e23200e194426716e32b5c0dff8549 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 16 Sep 2017 10:41:12 +0200 Subject: [PATCH] "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. --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index a39b671a..863ba338 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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: