#2051: [PATCH] Make the wrap_app argument to make_base_app actually work.
------------------------+---------------------------------------------------
Reporter: lmacken | Owner: faide
Type: defect | Status: new
Priority: high | Milestone: 2.0
Component: TurboGears | Version: 1.0.7
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Currently, the wrap_app argument to the make_base_app method wraps the
application, but does not insert it into the middleware stack. The
attached patch resolves this issue.
{{{
--- tg/configuration.py (revision 5791)
+++ tg/configuration.py (working copy)
@@ -442,7 +442,7 @@
load_environment(global_conf, app_conf)
app = TGApp()
if wrap_app:
- wrap_app(app)
+ app = wrap_app(app)
app = self.add_core_middleware(app)
if self.use_toscawidgets:
}}}
--
Ticket URL: <http://trac.turbogears.org/ticket/2051>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---