Browse Source

Make Python 3 happy

pull/952/head
Armin Ronacher 11 years ago
parent
commit
52e1c383fa
  1. 4
      flask/ctx.py

4
flask/ctx.py

@ -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>' % (

Loading…
Cancel
Save