mirror of
https://github.com/sprockets/sprockets.mixins.correlation.git
synced 2024-11-23 19:29:55 +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
|
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)
|
||||||
__version__ = '.'.join(str(v) for v in version_info[:3])
|
__version__ = '.'.join(str(v) for v in version_info[:3])
|
||||||
|
|
Loading…
Reference in a new issue