Skip to content
Myr

Make Python 3 happy

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 6ec83e1 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/ctx.py+2 added-2 removed
187 unmodified lines
188 def __exit__(self, exc_type, exc_value, tb):189 self.pop(exc_value)190191 if BROKEN_PYPY_CTXMGR_EXIT and exc_type is not None:192 raise exc_type, exc_value, tb192 reraise(exc_type, exc_value, tb)193194195class RequestContext(object):196 """The request context contains all request relevant information. It is
197 unmodified lines
394 # See flask.testing for how this works.395 self.auto_pop(exc_value)396397 if BROKEN_PYPY_CTXMGR_EXIT and exc_type is not None:398 raise exc_type, exc_value, tb398 reraise(exc_type, exc_value, tb)399400 def __repr__(self):401 return '<%s \'%s\' [%s] of %s>' % (402 self.__class__.__name__,
4 unmodified lines