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,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])
|
||||
|
|
Loading…
Reference in a new issue