Commit 97538e70 by Calen Pennington

Merge pull request #437 from MITx/feature/ichuang/minor-py26-compat-fix

Fix backcompat_module : html escape & py26
parents f09fa831 73d9d10a
...@@ -68,7 +68,7 @@ class SemanticSectionDescriptor(XModuleDescriptor): ...@@ -68,7 +68,7 @@ class SemanticSectionDescriptor(XModuleDescriptor):
the child element the child element
""" """
xml_object = etree.fromstring(xml_data) 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 &lt;{0}> tag is deprecated. Please do not use in new content."
.format(xml_object.tag)) .format(xml_object.tag))
if len(xml_object) == 1: if len(xml_object) == 1:
......
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