diff options
author | bbangert <devnull@localhost> | 2005-12-13 23:12:47 +0000 |
---|---|---|
committer | bbangert <devnull@localhost> | 2005-12-13 23:12:47 +0000 |
commit | 7c0990495ffbf7765b5b8130012b8d27d1c56d34 (patch) | |
tree | 5811692e1dc79a1d3c9e0caf55181c898463513b /paste/evalexception | |
parent | 19657d6165b94d9e1a006d3ad103f24426aa1631 (diff) | |
download | paste-7c0990495ffbf7765b5b8130012b8d27d1c56d34.tar.gz |
make_middleware doesn't use global_conf, not sure why its a required arg. Eval exception calls middleware without a global_conf though. Updated evalexception/middleware to use make_middleware instead, and make_middleware to not require global_conf.
Diffstat (limited to 'paste/evalexception')
-rw-r--r-- | paste/evalexception/middleware.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/evalexception/middleware.py b/paste/evalexception/middleware.py index 8f7ca20..c6c843f 100644 --- a/paste/evalexception/middleware.py +++ b/paste/evalexception/middleware.py @@ -105,7 +105,7 @@ def wsgiapp(): status = headers.pop('status') start_response(status, headers.headeritems()) return [res] - app = httpexceptions.middleware(application) + app = httpexceptions.make_middleware(application) app = simplecatcher(app) return app(environ, start_response) wsgiapp_wrapper.exposed = True |