Commit local changes

This commit is contained in:
Dirk Müller 2023-04-18 22:31:04 +02:00
parent 3797ea178a
commit 12001b1640
No known key found for this signature in database

View File

@ -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()