You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2023/02/07 17:00:36 UTC

[allura] 05/08: [#8495] fix DeprecationWarning tg use ['tm.enabled'] = False instead of 'use_transaction_manager'

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 43aed8566ad054963accd7df0fc3de16342ecc33
Author: Dillon Walls <di...@slashdotmedia.com>
AuthorDate: Thu Jan 26 19:48:28 2023 +0000

    [#8495] fix DeprecationWarning tg use ['tm.enabled'] = False instead of 'use_transaction_manager'
---
 Allura/allura/config/app_cfg.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Allura/allura/config/app_cfg.py b/Allura/allura/config/app_cfg.py
index 5c0a3678f..732525c13 100644
--- a/Allura/allura/config/app_cfg.py
+++ b/Allura/allura/config/app_cfg.py
@@ -61,6 +61,7 @@ class ForgeConfig(AppConfig):
         self.use_sqlalchemy = False
         self.use_toscawidgets = False
         self.use_transaction_manager = False
+        self['tm.enabled'] = False
         self.handle_status_codes = [403, 404, 410]
         self.disable_request_extensions = True