Mercurial > hg > TagInTheMiddle
changeset 15:1701e5b0b0eb
* stub manipulate method
* remove default data adding
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 05 May 2010 22:47:46 -0700 |
parents | 86118cd8912e |
children | 5f492a6fbdd1 |
files | taginthemiddle/middleware.py |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/taginthemiddle/middleware.py Wed May 05 22:45:25 2010 -0700 +++ b/taginthemiddle/middleware.py Wed May 05 22:47:46 2010 -0700 @@ -67,13 +67,9 @@ return self.app(environ, start_response) handler = exc.HTTPNotFound - # add navigation links to handler [example] - if hasattr(handler, 'data'): - handler.data.setdefault('links', []) - for h in self.handlers: - handler.data['links'].append((handler.link(h.handler_path), - h.__name__)) - # get response res = handler() return res(environ, start_response) + + def manipulate(self, request, response, tree): + return tree