Mercurial > hg > contenttransformer
diff contenttransformer/factory.py @ 1:aa491070ccf3
now works, just doesnt do anything, i dont think
author | k0s <k0scist@gmail.com> |
---|---|
date | Wed, 13 Jan 2010 23:58:13 -0500 |
parents | 29805d442afc |
children |
line wrap: on
line diff
--- a/contenttransformer/factory.py Mon Jan 11 11:32:24 2010 -0500 +++ b/contenttransformer/factory.py Wed Jan 13 23:58:13 2010 -0500 @@ -1,9 +1,9 @@ -from dispatcher import Dispatcher +from web import Dispatcher from paste.httpexceptions import HTTPExceptionHandler def factory(global_conf, **app_conf): """create a webob view and wrap it in middleware""" - keystr = 'typetransformer.' + keystr = 'transformer.' args = dict([(key.split(keystr, 1)[-1], value) for key, value in app_conf.items() if key.startswith(keystr) ])