Adjust parameters to construct_xblock_from_class to match XBlock repo.
This commit is contained in:
@@ -105,10 +105,10 @@ class ErrorDescriptor(ErrorFields, XModuleDescriptor):
|
||||
})
|
||||
return system.construct_xblock_from_class(
|
||||
cls,
|
||||
field_data,
|
||||
# The error module doesn't use scoped data, and thus doesn't need
|
||||
# real scope keys
|
||||
ScopeIds('error', None, location, location)
|
||||
ScopeIds('error', None, location, location),
|
||||
field_data,
|
||||
)
|
||||
|
||||
def get_context(self):
|
||||
|
||||
Reference in New Issue
Block a user