Code cleanup

This commit is contained in:
Dirk Müller
2024-05-16 15:47:45 +02:00
parent f5ffc83a69
commit 39fde7744a
8 changed files with 5 additions and 12 deletions

View File

@@ -167,7 +167,7 @@ class Importer:
with self.db.cursor() as cur:
cur.execute(
"SELECT * FROM revisions WHERE package=%s AND broken=FALSE AND expanded_srcmd5 IS NULL",
(package, )
(package,),
)
return [DBRevision(self.db, row) for row in cur.fetchall()]