Changeset - 46db3368c2ae
[Not reviewed]
default
0 3 0
Mads Kiilerich - 9 years ago 2016-09-12 17:41:19
madski@unity3d.com
lib: drop dbmigrate waitress check for Python 2.5 - we currently only support 2.6 and 2.7
3 files changed with 0 insertions and 13 deletions:
0 comments (0 inline, 0 general)
kallithea/config/environment.py
Show inline comments
 
@@ -105,7 +105,6 @@ def load_environment(global_conf, app_co
 
        if test_index:
 
            create_test_index(TESTS_TMP_PATH, config, True)
 

	
 
    DbManage.check_waitress()
 
    # MULTIPLE DB configs
 
    # Setup the SQLAlchemy database engine
 
    sa_engine_db1 = engine_from_config(config, 'sqlalchemy.db1.')
kallithea/lib/db_manage.py
Show inline comments
 
@@ -36,7 +36,6 @@ from os.path import dirname
 
import alembic.config
 
import alembic.command
 

	
 
from kallithea import __py_version__
 
from kallithea.lib.paster_commands.common import ask_ok
 
from kallithea.model.user import UserModel
 
from kallithea.model import init_model
 
@@ -498,13 +497,3 @@ class DbManage(object):
 
        """
 
        log.info('creating default user permissions')
 
        PermissionModel(self.sa).create_default_permissions(user=User.DEFAULT_USER)
 

	
 
    @staticmethod
 
    def check_waitress():
 
        """
 
        Function executed at the end of setup
 
        """
 
        if not __py_version__ >= (2, 6):
 
            notify('Python2.5 detected, please switch '
 
                   'egg:waitress#main -> egg:Paste#http '
 
                   'in your .ini file')
kallithea/websetup.py
Show inline comments
 
@@ -49,4 +49,3 @@ def setup_app(command, conf, vars):
 
    dbmanage.populate_default_permissions()
 
    Session().commit()
 
    load_environment(conf.global_conf, conf.local_conf)
 
    DbManage.check_waitress()
0 comments (0 inline, 0 general)