Skip to content

Commit

Permalink
Merge pull request #38 from openedx/farhan/remove-xblockutils
Browse files Browse the repository at this point in the history
Support backward compatibility for Quince earlier releases
  • Loading branch information
farhan authored Nov 2, 2023
2 parents 9e25dcc + 203657b commit b593b05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion feedback/feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
from xblock.core import XBlock
from xblock.fields import Scope, Integer, String, List, Float
from web_fragments.fragment import Fragment
from xblock.utils.resources import ResourceLoader
try:
from xblock.utils.resources import ResourceLoader
except ModuleNotFoundError: # For backward compatibility with releases older than Quince.
from xblockutils.resources import ResourceLoader

resource_loader = ResourceLoader(__name__)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def package_data(pkg, roots):

setup(
name='feedback-xblock',
version='1.1',
version='1.2.0',
description='XBlock for providing feedback on course content',
long_description=README,
long_description_content_type='text/x-rst',
Expand Down

0 comments on commit b593b05

Please sign in to comment.