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
The following commit(s) were added to refs/heads/master by this push: new 5cd3bd3 Fix patch_middleware_config context manager error handling: 5cd3bd3 is described below commit 5cd3bd342b3259b0b10a5e4ff56f4e85e4bb209d Author: Dave Brondsema <d...@brondsema.net> AuthorDate: Mon Jun 15 16:09:49 2020 -0400 Fix patch_middleware_config context manager error handling: If a context manager's __exit__ returns truthy it means it has handled any exceptions, so they were being hidden. --- Allura/allura/tests/decorators.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Allura/allura/tests/decorators.py b/Allura/allura/tests/decorators.py index 0a48ae7..6a72710 100644 --- a/Allura/allura/tests/decorators.py +++ b/Allura/allura/tests/decorators.py @@ -152,7 +152,6 @@ class patch_middleware_config(object): def __exit__(self, exc_type, exc_val, exc_t): allura.config.middleware.make_app = self._make_app - return self @contextlib.contextmanager