diff --git a/kallithea/config/environment.py b/kallithea/config/environment.py --- a/kallithea/config/environment.py +++ b/kallithea/config/environment.py @@ -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.') diff --git a/kallithea/lib/db_manage.py b/kallithea/lib/db_manage.py --- a/kallithea/lib/db_manage.py +++ b/kallithea/lib/db_manage.py @@ -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') diff --git a/kallithea/websetup.py b/kallithea/websetup.py --- a/kallithea/websetup.py +++ b/kallithea/websetup.py @@ -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()