Commit f3edaa9c authored by Michael Tremer's avatar Michael Tremer

importer: Import all sources in alphabetical order

To generate deterministic results
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent 5bfa1bb4
......@@ -411,7 +411,7 @@ class CLI(object):
validcountries = self.countries
# Iterate over all potential sources
for source in location.importer.SOURCES:
for source in sorted(location.importer.SOURCES):
with self.db.transaction():
# Create some temporary tables to store parsed data
self.db.execute("""
......
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