diff --git a/lib/importer.py b/lib/importer.py index 66defaf..be96eb1 100644 --- a/lib/importer.py +++ b/lib/importer.py @@ -220,11 +220,7 @@ class Importer: def import_into_db(self): with concurrent.futures.ThreadPoolExecutor(max_workers=8) as executor: - fs = [ - executor.submit(refresh_package, self, self.project, package) - for package in self.packages - ] - concurrent.futures.wait(fs) + for package in self.packages: refresh_package(self, self.project, package) self.db.conn.commit()