sort scripts array

This commit is contained in:
rolux 2012-05-25 18:46:30 +02:00
parent fe8031578a
commit 13d5de1c81

View file

@ -106,7 +106,7 @@ def build_oxjs(downloads=False, geo=False):
for filename in filenames[1]:
ox_files[1].append(js_dir + filename)
filenames = filenames[0] + filenames[1]
for filename in os.listdir(source_path + js_dir):
for filename in sorted(os.listdir(source_path + js_dir)):
if not filename in filenames \
and not filename.startswith('.') \
and not filename.endswith('~'):