refactor: delete class XmlDescriptor

It also adds `@XBlock.needs("i18n")` to `XModuleMixin` because this service is
required there.
This commit is contained in:
Agrendalath
2022-03-16 00:36:35 +01:00
committed by Piotr Surowiec
parent 8127d19115
commit 3380f88ab3
5 changed files with 12 additions and 15 deletions

View File

@@ -24,7 +24,7 @@ from xmodule.html_module import CourseInfoBlock # lint-amnesty, pylint: disable
from xmodule.modulestore.django import modulestore # lint-amnesty, pylint: disable=wrong-import-order
from xmodule.modulestore.exceptions import ItemNotFoundError # lint-amnesty, pylint: disable=wrong-import-order
# # This should be in a class which inherits from XmlDescriptor
# # This should be in a class which inherits from XModuleDescriptor
log = logging.getLogger(__name__)