From 1eb040f4ff6485d19b9c442fbdb4bd97daec956e Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 12 May 2015 10:23:31 -0400 Subject: [PATCH] Add MetricsMixin back into DescriptorSystem and ModuleSystem --- common/lib/xmodule/xmodule/x_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/x_module.py b/common/lib/xmodule/xmodule/x_module.py index 1066a35ff8..cd92cbda2d 100644 --- a/common/lib/xmodule/xmodule/x_module.py +++ b/common/lib/xmodule/xmodule/x_module.py @@ -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,