Browse Source

Reverse the merge order so Devuan is last and has the highest preference.

The reverse slice also copies so that we don't mess with the original list.
wip/archive
Mark Hindley 3 years ago
parent
commit
d208bf29c4
  1. 2
      amprolla_merge_translations.py

2
amprolla_merge_translations.py

@ -25,7 +25,7 @@ def merge_translations(filelist):
Merges a list of Translation files and returns a dict of the merged files
"""
merged_trnsl = {}
for i in filelist:
for i in filelist[::-1]: # Slice list in reverse repo_order so Devuan is merged last.
if i and isfile(i):
tfile = bz2_open(i).read()
tfile = tfile.decode('utf-8')

Loading…
Cancel
Save