diff --git a/xblock/__init__.py b/xblock/__init__.py index 82fc398f6..014831f2c 100644 --- a/xblock/__init__.py +++ b/xblock/__init__.py @@ -27,4 +27,4 @@ def __init__(self, *args, **kwargs): # without causing a circular import xblock.fields.XBlockMixin = XBlockMixin -__version__ = '2.0.0' +__version__ = '1.8.0' diff --git a/xblock/utils/resources.py b/xblock/utils/resources.py index a808d07b1..1066ffd59 100644 --- a/xblock/utils/resources.py +++ b/xblock/utils/resources.py @@ -51,8 +51,8 @@ def render_mako_template(self, template_path, context=None): Note: This function has been deprecated. Consider using Django templates or React UI instead of mako. """ warnings.warn( - 'ResourceLoader.render_mako_template has been deprecated ' - 'Consider using Django templates or React UI instead of mako.', + 'ResourceLoader.render_mako_template has been deprecated. ' + 'Use Django templates or React UI instead of mako.', DeprecationWarning, stacklevel=3, ) context = context or {}