minor change to backcompat_module for py26 compat

This commit is contained in:
ichuang
2012-08-16 15:16:42 -04:00
parent ea03838a0f
commit 0cac6c9512

View File

@@ -68,7 +68,7 @@ class SemanticSectionDescriptor(XModuleDescriptor):
the child element
"""
xml_object = etree.fromstring(xml_data)
system.error_tracker("WARNING: the <{}> tag is deprecated. Please do not use in new content."
system.error_tracker("WARNING: the <{0}> tag is deprecated. Please do not use in new content."
.format(xml_object.tag))
if len(xml_object) == 1: