Adjust parameters to construct_xblock_from_class to match XBlock repo.

This commit is contained in:
Ned Batchelder
2013-09-17 15:10:56 -04:00
parent e73bc906c8
commit d7e441088b
11 changed files with 17 additions and 20 deletions

View File

@@ -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):