From 12001b16407271183d2ba37ba62ec93fcd5a7b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Tue, 18 Apr 2023 22:31:04 +0200 Subject: [PATCH] Commit local changes --- lib/importer.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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()