From 115b214df149ce7e724da65f675548716f201ac9 Mon Sep 17 00:00:00 2001 From: Don Mitchell Date: Tue, 25 Jun 2013 12:00:19 -0400 Subject: [PATCH] Retrieve location from self in CustomTagDescriptor --- common/lib/xmodule/xmodule/template_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/template_module.py b/common/lib/xmodule/xmodule/template_module.py index bf8f616913..c28378210b 100644 --- a/common/lib/xmodule/xmodule/template_module.py +++ b/common/lib/xmodule/xmodule/template_module.py @@ -49,7 +49,7 @@ class CustomTagDescriptor(RawDescriptor): else: # TODO (vshnayder): better exception type raise Exception("Could not find impl attribute in customtag {0}" - .format(location)) + .format(self.location)) params = dict(xmltree.items())