mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Remove waring about no config file
fdroid works fine without a config so there is no reason to warn about it.
This commit is contained in:
parent
4cf48cc9c4
commit
b62124853a
1 changed files with 0 additions and 2 deletions
|
|
@ -370,8 +370,6 @@ def read_config(opts=None):
|
||||||
with io.open(old_config_file, "rb") as fp:
|
with io.open(old_config_file, "rb") as fp:
|
||||||
code = compile(fp.read(), old_config_file, 'exec')
|
code = compile(fp.read(), old_config_file, 'exec')
|
||||||
exec(code, None, config) # nosec TODO automatically migrate
|
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'):
|
for k in ('mirrors', 'install_list', 'uninstall_list', 'serverwebroot', 'servergitroot'):
|
||||||
if k in config:
|
if k in config:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue