Make Python 3 happy

This commit is contained in:
Armin Ronacher 2014-01-26 17:47:16 +00:00
parent 6ec83e18dc
commit 52e1c383fa

View file

@ -189,7 +189,7 @@ class AppContext(object):
self.pop(exc_value)
if BROKEN_PYPY_CTXMGR_EXIT and exc_type is not None:
raise exc_type, exc_value, tb
reraise(exc_type, exc_value, tb)
class RequestContext(object):
@ -395,7 +395,7 @@ class RequestContext(object):
self.auto_pop(exc_value)
if BROKEN_PYPY_CTXMGR_EXIT and exc_type is not None:
raise exc_type, exc_value, tb
reraise(exc_type, exc_value, tb)
def __repr__(self):
return '<%s \'%s\' [%s] of %s>' % (