Browse Source

Fix pep8 no blank line issue

pull/2835/head
Pradeep Susarla 7 years ago
parent
commit
bbbf822733
  1. 1
      flask/_compat.py

1
flask/_compat.py

@ -83,6 +83,7 @@ if hasattr(sys, 'pypy_version_info'):
class _Mgr(object): class _Mgr(object):
def __enter__(self): def __enter__(self):
return self return self
def __exit__(self, *args): def __exit__(self, *args):
if hasattr(sys, 'exc_clear'): if hasattr(sys, 'exc_clear'):
# Python 3 (PyPy3) doesn't have exc_clear # Python 3 (PyPy3) doesn't have exc_clear

Loading…
Cancel
Save