Redmine #1487: removed schema-incompatible attribute and redundant setting

This commit is contained in:
Cyprian Laskowski 2022-03-10 10:41:16 +01:00
parent 126d00eba9
commit 26066c0892
2 changed files with 0 additions and 3 deletions

View File

@ -265,8 +265,6 @@ def convert_file(input_file_name, output_file_name):
tree.write(output_file_name, pretty_print=True, encoding='utf-8')
system = 'jos' # default (TODO: make this cleaner)
if __name__ == '__main__':
import argparse
from glob import glob

View File

@ -17,7 +17,6 @@ def convert(input_file_name, output_file_name):
for parsed_unit in parsed_units:
entry = lxml.SubElement(output_root, 'entry')
entry.set('sid', get_xml_id(parsed_unit))
head = lxml.SubElement(entry, 'head')
headword = lxml.SubElement(head, 'headword')
lemma_text = get_parsed_unit_string(parsed_unit)