Commit 29060530 by Victor Shnayder

fix string format bug

parent 37a4d3ab
......@@ -92,7 +92,7 @@ class TranslateCustomTagDescriptor(XModuleDescriptor):
xml_object = etree.fromstring(xml_data)
system.error_tracker('WARNING: the <{tag}> tag is deprecated. '
'Instead, use <customtag impl="{tag}" attr1="..." attr2="..."/>. '
.format(xml_object.tag))
.format(tag=xml_object.tag))
tag = xml_object.tag
xml_object.tag = 'customtag'
......
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