changeset 6160:a9412063e8bc

config: drop unused load_environment parameter initial
author Mads Kiilerich <madski@unity3d.com>
date Tue, 06 Sep 2016 00:51:18 +0200
parents 7c917e15c045
children 4bcaf1ca2e08
files kallithea/config/environment.py kallithea/websetup.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/config/environment.py	Tue Sep 06 00:51:18 2016 +0200
+++ b/kallithea/config/environment.py	Tue Sep 06 00:51:18 2016 +0200
@@ -44,7 +44,7 @@
 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``
--- a/kallithea/websetup.py	Tue Sep 06 00:51:18 2016 +0200
+++ b/kallithea/websetup.py	Tue Sep 06 00:51:18 2016 +0200
@@ -48,5 +48,5 @@
     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()