chiark / gitweb /
"No config.py found" should warning level, until people get use to it
authorHans-Christoph Steiner <hans@eds.org>
Sat, 16 Sep 2017 08:41:12 +0000 (10:41 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Sat, 16 Sep 2017 09:11:49 +0000 (11:11 +0200)
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

index a39b671a7560685e5c091338f4f288cbe41b0d13..863ba33829c2d670713369f3a0805f62f9be1f0f 100644 (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: