From 3a46e7c5f500667c139419e82edb98e052df7e79 Mon Sep 17 00:00:00 2001 From: Nizar Mahmoud Date: Thu, 5 Nov 2020 02:00:33 +0300 Subject: [PATCH] Squashes waffle_utils.WaffleFlag deprecation warning --- openedx/core/djangoapps/waffle_utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/waffle_utils/__init__.py b/openedx/core/djangoapps/waffle_utils/__init__.py index 3b87959fd3..f181cdf28a 100644 --- a/openedx/core/djangoapps/waffle_utils/__init__.py +++ b/openedx/core/djangoapps/waffle_utils/__init__.py @@ -121,7 +121,7 @@ class WaffleFlag(BaseWaffleFlag): yield -class CourseWaffleFlag(WaffleFlag): +class CourseWaffleFlag(BaseWaffleFlag): """ Represents a single waffle flag that can be forced on/off for a course. This class should be used instead of WaffleFlag when in the context of a course.