Skip to content

Commit

Permalink
refactor: switch from FutureCourseWaffleFlag to CourseWaffleFlag (#1855)
Browse files Browse the repository at this point in the history
Use the updated CourseWaffleFlag.
FutureCourseWaffleFlag will be removed from the platform.
  • Loading branch information
dyudyunov authored May 10, 2022
1 parent ebd41ec commit 8ca9afa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openassessment/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Initialization Information for Open Assessment Module
"""
__version__ = '4.3.1'
__version__ = '4.4.0'
4 changes: 2 additions & 2 deletions openassessment/runtime_imports/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def import_course_waffle_flag():
Helper method that imports CourseWaffleFlag from edx-platform at runtime.
https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/waffle_utils/__init__.py#L345
"""
from openedx.core.djangoapps.waffle_utils.__future__ import FutureCourseWaffleFlag
return FutureCourseWaffleFlag
from openedx.core.djangoapps.waffle_utils import CourseWaffleFlag
return CourseWaffleFlag


def import_external_id():
Expand Down

0 comments on commit 8ca9afa

Please sign in to comment.