# HG changeset patch # User Jeff Hammel # Date 1273124866 25200 # Node ID 1701e5b0b0ebf1d2b1ee75d570357557c46ab449 # Parent 86118cd8912ef01867c11edb055e387c29f9ed53 * stub manipulate method * remove default data adding diff -r 86118cd8912e -r 1701e5b0b0eb taginthemiddle/middleware.py --- 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