Commit 2f95146b by Calen Pennington

Just use the class name when complaining about definition_from_xml not being implemented

parent 1e8acbef
......@@ -13,7 +13,7 @@ class XmlDescriptor(XModuleDescriptor):
Return the definition to be passed to the newly created descriptor
during from_xml
"""
raise NotImplementedError("%s does not implement definition_from_xml" % cls.__class__.__name__)
raise NotImplementedError("%s does not implement definition_from_xml" % cls.__name__)
@classmethod
def from_xml(cls, xml_data, system, org=None, course=None):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment