Mercurial > hg > genshi_view
changeset 13:6075ca965357
cleanup
author | k0s <k0scist@gmail.com> |
---|---|
date | Sat, 07 Nov 2009 22:55:06 -0500 |
parents | 224486ff2d7f |
children | d54f85043f77 |
files | genshi_view/template/+package+/dispatcher.py |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/genshi_view/template/+package+/dispatcher.py Sat Nov 07 22:53:07 2009 -0500 +++ b/genshi_view/template/+package+/dispatcher.py Sat Nov 07 22:55:06 2009 -0500 @@ -25,17 +25,14 @@ setattr(self, key, kw.get(key, self.defaults[key])) self.auto_reload = self.auto_reload.lower() == 'true' + # request handlers self.handlers = [ Index ] - # static files - self.htdocs = resource_filename(__name__, 'static') - # template loader templates_dir = resource_filename(__name__, 'templates') self.loader = TemplateLoader(templates_dir, auto_reload=self.auto_reload) - ### methods dealing with HTTP def __call__(self, environ, start_response): # get a request object @@ -64,4 +61,3 @@ # get response res = handler() return res(environ, start_response) -