From 05a5e6aea7f4baa355ca20e3dc5ba71aafa3af86 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 2 Nov 2022 10:52:53 +0100 Subject: [PATCH] Don't refresh packages we're already looking at --- lib/importer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/importer.py b/lib/importer.py index 283729e..6445b6a 100644 --- a/lib/importer.py +++ b/lib/importer.py @@ -66,7 +66,8 @@ class Importer: ) for row in cur.fetchall(): (lproject, lpackage) = row - self.update_db_package(db, lproject, lpackage) + # recurse + self.refresh_package(db, lproject, lpackage) def find_fake_revisions(self, db): with db.cursor() as cur: