Bert JW Regeer
2017-05-23 4f66355fb5d7e6fe319742cb50f263425a88c57f
Always push the threadlocals
1 files modified
5 ■■■■■ changed files
pyramid/view.py 5 ●●●●● patch | view | raw | blame | history
pyramid/view.py
@@ -700,10 +700,9 @@
            # https://github.com/Pylons/pyramid/issues/700
            request_iface = attrs.get('request_iface', IRequest)
            try:
                if request is not self:
                    manager.push({'request': request, 'registry': registry})
            manager.push({'request': request, 'registry': registry})
            try:
                response = _call_view(
                    registry,
                    request,