Closed dlax closed 8 years ago
Thanks for spotting this @dlax. Should be ok now, with the PR I just merged.
David Read wrote:
Thanks for spotting this @dlax https://github.com/dlax. Should be ok now, with the PR I just merged.
Yes, it is. Thanks for the quick fix.
I noticed that settings from the main CKAN configuration file (eg.
development.ini
file passed with-c
topaster
commands) are not taken into account. Not sure this is true for all options, but at least forckanext-archiver.archive_dir
. This seems to be due to the fact that these options' values are read fromdefault_setttings.py
file which, if imported beforepylons.config
gets initialized, would not get any values from the CKAN configuration file. For instance, moduletask.py
import thisdefault_settings
module and the configuration is empty there, whereas it is not afterload_config
function is called, but this is too late since the latter function is called after thedefault_settings
got imported.