Commit 1eb040f4 by Calen Pennington

Add MetricsMixin back into DescriptorSystem and ModuleSystem

parent 90f7a010
...@@ -1259,7 +1259,7 @@ class MetricsMixin(object): ...@@ -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 Base class for :class:`Runtime`s to be used with :class:`XModuleDescriptor`s
""" """
...@@ -1505,7 +1505,7 @@ class XMLParsingSystem(DescriptorSystem): ...@@ -1505,7 +1505,7 @@ class XMLParsingSystem(DescriptorSystem):
setattr(xblock, field.name, field_value) 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 This is an abstraction such that x_modules can function independent
of the courseware (e.g. import into other types of courseware, LMS, 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