121
122
123def make_rules_description_to_cdata(rule_t):
124 """after parsing we lost the CDATA information125 restore it for <description> tag, assume it always encoded as CDATA"""
126 for description_tag in rule_t.iter('description'):
127 desc = description_tag.text
It is recommended to properly indent docstrings for readability.