summaryrefslogtreecommitdiff
path: root/paste/httpexceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/httpexceptions.py')
-rw-r--r--paste/httpexceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py
index ede4f7e..d04308f 100644
--- a/paste/httpexceptions.py
+++ b/paste/httpexceptions.py
@@ -631,7 +631,7 @@ class HTTPExceptionHandler(object):
[]).append(HTTPException)
try:
return self.application(environ, start_response)
- except HTTPException, exc:
+ except HTTPException as exc:
return exc(environ, start_response)
def middleware(*args, **kw):