fix: cleanups and bug fix from review

This commit is contained in:
Braden MacDonald
2023-05-25 16:33:40 -07:00
parent 15b511ffd1
commit 9f5f3108a0
2 changed files with 19 additions and 23 deletions

View File

@@ -649,8 +649,6 @@ class XModuleMixin(XModuleFields, XBlock):
if field in self._dirty_fields:
del self._dirty_fields[field]
if wrappers is None:
wrappers = []
if wrappers:
# Put user-specific wrappers around the field-data service for this block.
# Note that these are different from modulestore.xblock_field_data_wrappers, which are not user-specific.