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