Commit 3643036f by Adam

Merge pull request #8001 from cpennington/re-add-metrics-mixin

Add MetricsMixin back into DescriptorSystem and ModuleSystem
parents 90f7a010 1eb040f4
......@@ -1259,7 +1259,7 @@ class MetricsMixin(object):
)
class DescriptorSystem(ConfigurableFragmentWrapper, Runtime): # pylint: disable=abstract-method
class DescriptorSystem(MetricsMixin, ConfigurableFragmentWrapper, Runtime): # pylint: disable=abstract-method
"""
Base class for :class:`Runtime`s to be used with :class:`XModuleDescriptor`s
"""
......@@ -1505,7 +1505,7 @@ class XMLParsingSystem(DescriptorSystem):
setattr(xblock, field.name, field_value)
class ModuleSystem(ConfigurableFragmentWrapper, Runtime): # pylint: disable=abstract-method
class ModuleSystem(MetricsMixin, ConfigurableFragmentWrapper, Runtime): # pylint: disable=abstract-method
"""
This is an abstraction such that x_modules can function independent
of the courseware (e.g. import into other types of courseware, LMS,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment