Show More
@@ -26,7 +26,6 b' import rhodecode' | |||
|
26 | 26 | from pylons.i18n.translation import _get_translator |
|
27 | 27 | from pylons.util import ContextObj |
|
28 | 28 | from routes.util import URLGenerator |
|
29 | from pyramid.httpexceptions import HTTPInternalServerError, HTTPError, HTTPServiceUnavailable | |
|
30 | 29 | |
|
31 | 30 | from rhodecode.lib.base import attach_context_attributes, get_auth_user |
|
32 | 31 | from rhodecode.model import meta |
@@ -70,8 +69,7 b' def pylons_compatibility_tween_factory(h' | |||
|
70 | 69 | context.rhodecode_user = auth_user |
|
71 | 70 | attach_context_attributes(context) |
|
72 | 71 | pylons.tmpl_context._push_object(context) |
|
73 |
re |
|
|
74 | return response | |
|
72 | return handler(request) | |
|
75 | 73 | finally: |
|
76 | 74 | # Dispose current database session and rollback uncommitted |
|
77 | 75 | # transactions. |
General Comments 0
You need to be logged in to leave comments.
Login now