From b69edcd869ba81a6076572a03685947857a0be53 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 24 Sep 2012 08:56:02 -0400 Subject: [PATCH] Pass org and course through ErrorDescriptor.from_xml to ErrorDescriptor.__init__ --- common/lib/xmodule/xmodule/error_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/error_module.py b/common/lib/xmodule/xmodule/error_module.py index 199fb0d580..4a4b55e652 100644 --- a/common/lib/xmodule/xmodule/error_module.py +++ b/common/lib/xmodule/xmodule/error_module.py @@ -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): '''