##// END OF EJS Templates
Backport PR #6318: use write_error instead of get_error_html...
Backport PR #6318: use write_error instead of get_error_html get_error_html is removed in tornado 4.0 closes #6312 should be backported to 2.x, since it's a compatibility issue.

File last commit:

r17827:e58285c8
r17829:4cdb6f42
Show More
__init__.py
15 lines | 334 B | text/x-python | PythonLexer
try:
from appnope import *
except ImportError:
__version__ = '0.0.5'
import sys
import platform
from distutils.version import LooseVersion as V
if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
from ._dummy import *
else:
from ._nope import *
del sys, platform, V