Skip to content

Commit

Permalink
merge.py: Make result independent of filesystem order
Browse files Browse the repository at this point in the history
  • Loading branch information
nbraud committed Nov 5, 2023
1 parent c6b6c8f commit 6da46a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def wn_merge():

ET.register_namespace("dc", "https://globalwordnet.github.io/schemas/dc/")

for wn_part in glob("src/xml/wn-*.xml"):
for wn_part in sorted(glob("src/xml/wn-*.xml")):
tree = ET.parse(wn_part).getroot()
for element in tree[0]:
if(element.tag == "LexicalEntry"):
Expand Down

0 comments on commit 6da46a4

Please sign in to comment.