Sort list of po files

This commit is contained in:
James Cameron 2017-09-09 11:51:57 +10:00
parent 1875a30075
commit e2ea171cfb

View File

@ -134,7 +134,7 @@ class Builder(object):
if os.path.exists(self.locale_dir): if os.path.exists(self.locale_dir):
shutil.rmtree(self.locale_dir) shutil.rmtree(self.locale_dir)
for f in os.listdir(po_dir): for f in sorted(os.listdir(po_dir)):
if not f.endswith('.po') or f == 'pseudo.po': if not f.endswith('.po') or f == 'pseudo.po':
continue continue