diff makeitso/dispatcher.py @ 18:02498337c747

* add a port * remove cruft
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 16 Nov 2010 19:44:15 -0800
parents bf1ce840d0f0
children 6d1c703c5ffc
line wrap: on
line diff
--- 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)