Retrieve location from self in CustomTagDescriptor

This commit is contained in:
Don Mitchell
2013-06-25 12:00:19 -04:00
parent e9bd1c5602
commit 115b214df1

View File

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