From: Hans-Christoph Steiner Date: Sat, 16 Sep 2017 08:41:12 +0000 (+0200) Subject: "No config.py found" should warning level, until people get use to it X-Git-Tag: 0.9~76 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9712fac011e23200e194426716e32b5c0dff8549;p=fdroidserver.git "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. --- 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: