Fix retrieving __version__ without Tornado installed.

This commit is contained in:
Dave Shawley 2016-06-21 10:30:52 -04:00
parent 4e8d3fa571
commit 520ad6a456

View file

@ -1,5 +1,12 @@
try:
from .mixins import HandlerMixin
except ImportError as error:
class HandlerMixin(object):
def __init__(self, *args, **kwargs):
raise error
version_info = (1, 0, 2)
__version__ = '.'.join(str(v) for v in version_info[:3])