summaryrefslogtreecommitdiff
path: root/paste/evalexception
diff options
context:
space:
mode:
authorCyril Roelandt <cyril.roelandt@enovance.com>2014-03-18 12:49:40 +0100
committerCyril Roelandt <cyril.roelandt@enovance.com>2014-03-18 12:49:40 +0100
commit9b529a23f64c4b27c427a2680428f3e17531e9c3 (patch)
tree6647b5b6639201d2a18767b6fa4c3f73a36be61b /paste/evalexception
parent52ecfe48860ed04a80532fd7a01b51fbed9c7217 (diff)
downloadpaste-9b529a23f64c4b27c427a2680428f3e17531e9c3.tar.gz
Python 3: use new style of raise, replace "raise class, args" with "raise class(args)"
Diffstat (limited to 'paste/evalexception')
-rw-r--r--paste/evalexception/middleware.py3
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')])