From da2e89db83296e78f01d8bef7a593aec522d39a3 Mon Sep 17 00:00:00 2001 From: Agrendalath Date: Tue, 15 Mar 2022 23:58:05 +0100 Subject: [PATCH] refactor: move `resources_dir` from `XmlMixin` to `XmlParserMixin` --- xmodule/xml_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmodule/xml_module.py b/xmodule/xml_module.py index 488d6b1919..2f470dba36 100644 --- a/xmodule/xml_module.py +++ b/xmodule/xml_module.py @@ -107,6 +107,8 @@ class XmlParserMixin: """ Class containing XML parsing functionality shared between XBlock and XModuleDescriptor. """ + resources_dir = None + # Extension to append to filename paths filename_extension = 'xml' @@ -509,8 +511,6 @@ class XmlMixin(XmlParserMixin): # lint-amnesty, pylint: disable=abstract-method """ Mixin class for standardized parsing of XModule xml. """ - resources_dir = None - @classmethod def from_xml(cls, xml_data, system, id_generator): """