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,4 +1,11 @@
from .mixins import HandlerMixin 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_info = (1, 0, 2)