diff options
Diffstat (limited to 'paste/evalexception/middleware.py')
-rw-r--r-- | paste/evalexception/middleware.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/paste/evalexception/middleware.py b/paste/evalexception/middleware.py index b6345c5..481d498 100644 --- a/paste/evalexception/middleware.py +++ b/paste/evalexception/middleware.py @@ -402,8 +402,7 @@ class DebugInfo(object): if id(frame) == tbid: return frame else: - raise ValueError, ( - "No frame by id %s found from %r" % (tbid, self.frames)) + raise ValueError("No frame by id %s found from %r" % (tbid, self.frames)) def wsgi_application(self, environ, start_response): start_response('200 OK', [('content-type', 'text/html')]) |