1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Merge branch 'using_defaults' into 'master'

Remove waring about no config file

See merge request fdroid/fdroidserver!999
This commit is contained in:
Hans-Christoph Steiner 2021-08-23 11:42:19 +00:00
commit e77e110a64

View File

@ -370,8 +370,6 @@ def read_config(opts=None):
with io.open(old_config_file, "rb") as fp:
code = compile(fp.read(), old_config_file, 'exec')
exec(code, None, config) # nosec TODO automatically migrate
else:
logging.warning(_("No config.yml found, using defaults."))
for k in ('mirrors', 'install_list', 'uninstall_list', 'serverwebroot', 'servergitroot'):
if k in config: