mirror of
https://github.com/sprockets/sprockets.mixins.correlation.git
synced 2024-11-23 11:19:53 +00:00
Fix retrieving __version__ without Tornado installed.
This commit is contained in:
parent
4e8d3fa571
commit
520ad6a456
1 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue