diff options
| author | ianb <devnull@localhost> | 2005-08-22 21:59:18 +0000 |
|---|---|---|
| committer | ianb <devnull@localhost> | 2005-08-22 21:59:18 +0000 |
| commit | 147c1046ea48853b59bb0637e31400ea808aedc4 (patch) | |
| tree | d4a7bc3a780dbc9de6c0e2e9cd576412fa0a6be2 | |
| parent | 608886cdb1b04028cc8a5eb80b7d6d170937f253 (diff) | |
| download | paste-147c1046ea48853b59bb0637e31400ea808aedc4.tar.gz | |
paste.deployified httpexceptions
| -rw-r--r-- | paste/httpexceptions.py | 2 | ||||
| -rw-r--r-- | setup.py | 1 |
2 files changed, 2 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 @@ -57,6 +57,7 @@ functionality. cgitb=paste.cgitb_catcher:CgitbMiddleware flup_session=paste.flup_session:SessionMiddleware gzip=paste.gzipper:middleware + httpexceptions=paste.httpexceptions:middleware """, }, ) |
