Pass org and course through ErrorDescriptor.from_xml to ErrorDescriptor.__init__

This commit is contained in:
Calen Pennington
2012-09-24 08:56:02 -04:00
parent d8736914d4
commit b69edcd869

View File

@@ -118,7 +118,7 @@ class ErrorDescriptor(EditingDescriptor):
# Save the error to display later--overrides other problems
error_msg = exc_info_to_str(sys.exc_info())
return cls(system, xml_data, error_msg)
return cls(system, xml_data, error_msg, org=org, course=course)
def export_to_xml(self, resource_fs):
'''