summaryrefslogtreecommitdiff
path: root/paste/evalexception
diff options
context:
space:
mode:
authorbbangert <devnull@localhost>2005-12-13 23:12:47 +0000
committerbbangert <devnull@localhost>2005-12-13 23:12:47 +0000
commit7c0990495ffbf7765b5b8130012b8d27d1c56d34 (patch)
tree5811692e1dc79a1d3c9e0caf55181c898463513b /paste/evalexception
parent19657d6165b94d9e1a006d3ad103f24426aa1631 (diff)
downloadpaste-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.py2
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