diff options
| author | bbangert <bbangert@localhost> | 2005-12-13 23:12:47 +0000 |
|---|---|---|
| committer | bbangert <bbangert@localhost> | 2005-12-13 23:12:47 +0000 |
| commit | 283c5cb8427226985cba006f0ae76461a10c1768 (patch) | |
| tree | 5811692e1dc79a1d3c9e0caf55181c898463513b /paste/evalexception/middleware.py | |
| parent | bdf2b5c90776e5f52c5e32807aacd2e631748515 (diff) | |
| download | paste-git-283c5cb8427226985cba006f0ae76461a10c1768.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/middleware.py')
| -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 |
