Mercurial > hg > MakeItSo
changeset 18:02498337c747
* add a port
* remove cruft
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 16 Nov 2010 19:44:15 -0800 |
parents | 941c1f73c2b6 |
children | c46ec69d6253 |
files | makeitso.ini makeitso/dispatcher.py |
diffstat | 2 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/makeitso.ini Tue Nov 16 19:41:37 2010 -0800 +++ b/makeitso.ini Tue Nov 16 19:44:15 2010 -0800 @@ -9,7 +9,7 @@ [server:main] use = egg:Paste#http host = 0.0.0.0 -port = +port = 43150 [composite:main] use = egg:Paste#urlmap
--- a/makeitso/dispatcher.py Tue Nov 16 19:41:37 2010 -0800 +++ b/makeitso/dispatcher.py Tue Nov 16 19:44:15 2010 -0800 @@ -61,13 +61,6 @@ 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)