From f419080f7693b0846e06b8c7f34b32872e818bd6 Mon Sep 17 00:00:00 2001 From: Maxim Beder Date: Sun, 29 Dec 2024 00:44:41 +0100 Subject: [PATCH] fix: prevent errors raised from accessing .graded property This is a temporary commit, might be reverted. This commit is done to make tests pass, so that other quality checks can run. --- openedx/core/djangoapps/xblock/runtime/runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/xblock/runtime/runtime.py b/openedx/core/djangoapps/xblock/runtime/runtime.py index 4d25de2aa204..988ec5a250cf 100644 --- a/openedx/core/djangoapps/xblock/runtime/runtime.py +++ b/openedx/core/djangoapps/xblock/runtime/runtime.py @@ -124,8 +124,8 @@ def __init__( id_reader=id_reader or OpaqueKeyReader(), mixins=( LmsBlockMixin, # Adds Non-deprecated LMS/Studio functionality - XBlockShim, # Adds deprecated LMS/Studio functionality / backwards compatibility InheritanceMixin, + XBlockShim, # Adds deprecated LMS/Studio functionality / backwards compatibility ), default_class=None, select=None,