Commit 567f7f61 authored by Tobias Quathamer's avatar Tobias Quathamer

Add bibliographic code and remove terminology code

parent c9f64aa4
......@@ -431,8 +431,8 @@ with open(xml_file, "w") as outfile:
outfile.write("\t\tid=\"" + entry["alpha_3"] + "\"\n")
if "alpha_2" in entry:
outfile.write("\t\tpart1_code=\"" + entry["alpha_2"] + "\"\n")
if "terminology" in entry:
outfile.write("\t\tpart2_code=\"" + entry["terminology"] + "\"\n")
if "bibliographic" in entry:
outfile.write("\t\tpart2_code=\"" + entry["bibliographic"] + "\"\n")
# Special case for lcq, which is the only entry with status "Retired"
if entry["alpha_3"] == "lcq":
outfile.write("\t\tstatus=\"Retired\"\n")
......
This diff is collapsed.
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