From f4af7b92c903f46ec5c19cc8481825906306568b Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Mon, 13 Aug 2018 13:04:36 +0200 Subject: [PATCH] backend: don't support vcsserver.scm_app anymore --- rhodecode/config/middleware.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py index 60274c44..289dcbef 100644 --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -428,10 +428,10 @@ def _sanitize_vcs_settings(settings): _int_setting(settings, 'vcs.connection_timeout', 3600) # Support legacy values of vcs.scm_app_implementation. Legacy - # configurations may use 'rhodecode.lib.middleware.utils.scm_app_http' - # which is now mapped to 'http'. + # configurations may use 'rhodecode.lib.middleware.utils.scm_app_http', or + # disabled since 4.13 'vcsserver.scm_app' which is now mapped to 'http'. scm_app_impl = settings['vcs.scm_app_implementation'] - if scm_app_impl == 'rhodecode.lib.middleware.utils.scm_app_http': + if scm_app_impl in ['rhodecode.lib.middleware.utils.scm_app_http', 'vcsserver.scm_app']: settings['vcs.scm_app_implementation'] = 'http'