Mercurial > hg > decoupage
view decoupage/factory.py @ 61:f5ca54558292
remove previous hacks
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 25 Nov 2010 12:06:40 -0800 |
parents | 6a802c87f070 |
children | 9c570aed2246 |
line wrap: on
line source
from web import Decoupage from paste.httpexceptions import HTTPExceptionHandler def factory(global_conf, **app_conf): """create a webob view and wrap it in middleware""" app = Decoupage(**app_conf) return HTTPExceptionHandler(app)