From 8d5f86ecff33634f567e441130e1c0f13d77db61 Mon Sep 17 00:00:00 2001 From: Matt Drayer Date: Wed, 24 Feb 2016 14:18:15 -0500 Subject: [PATCH] mattdrayer: Remove redundant __class__ reference --- common/lib/xmodule/xmodule/modulestore/django.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/modulestore/django.py b/common/lib/xmodule/xmodule/modulestore/django.py index a0be05a3c1cd..e9cfc3dbb76f 100644 --- a/common/lib/xmodule/xmodule/modulestore/django.py +++ b/common/lib/xmodule/xmodule/modulestore/django.py @@ -256,7 +256,7 @@ def __init__(self, block=None): """ self.translator = django.utils.translation if block: - xblock_resource = block.__class__.unmixed_class.__module__ + xblock_resource = block.unmixed_class.__module__ xblock_locale_dir = '/conf/locale' xblock_locale_path = resource_filename(xblock_resource, xblock_locale_dir) xblock_domain = 'django'