From 74593d18afe682859bc6709223483198b5de9e8b Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 10 Jul 2012 13:15:40 -0400 Subject: [PATCH] Fix url in CapaModule error message --- common/lib/xmodule/xmodule/capa_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/capa_module.py b/common/lib/xmodule/xmodule/capa_module.py index 692b26f00c..95db43fb61 100644 --- a/common/lib/xmodule/xmodule/capa_module.py +++ b/common/lib/xmodule/xmodule/capa_module.py @@ -136,7 +136,7 @@ class CapaModule(XModule): try: self.lcp = LoncapaProblem(self.definition['data'], self.location.html_id(), instance_state, seed=seed, system=self.system) except Exception: - msg = 'cannot create LoncapaProblem %s' % self.url + msg = 'cannot create LoncapaProblem %s' % self.location.url() log.exception(msg) if self.system.DEBUG: msg = '

%s

' % msg.replace('<', '<')