summaryrefslogtreecommitdiff
path: root/paste
diff options
context:
space:
mode:
Diffstat (limited to 'paste')
-rw-r--r--paste/httpexceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py
index 16fca6f..5f8405f 100644
--- a/paste/httpexceptions.py
+++ b/paste/httpexceptions.py
@@ -211,7 +211,7 @@ def get_exception(code):
## Middleware implementation:
############################################################
-def middleware(application):
+def middleware(application, global_conf):
"""
This middleware catches any exceptions (which are subclasses of