diff --git a/kallithea/config/environment.py b/kallithea/config/environment.py --- a/kallithea/config/environment.py +++ b/kallithea/config/environment.py @@ -44,7 +44,7 @@ from kallithea.model.scm import ScmModel log = logging.getLogger(__name__) -def load_environment(global_conf, app_conf, initial=False, +def load_environment(global_conf, app_conf, test_env=None, test_index=None): """ Configure the Pylons environment via the ``pylons.config`` diff --git a/kallithea/websetup.py b/kallithea/websetup.py --- a/kallithea/websetup.py +++ b/kallithea/websetup.py @@ -48,5 +48,5 @@ def setup_app(command, conf, vars): dbmanage.create_permissions() dbmanage.populate_default_permissions() Session().commit() - load_environment(conf.global_conf, conf.local_conf, initial=True) + load_environment(conf.global_conf, conf.local_conf) DbManage.check_waitress()