From aaae5693485ae850bfe2c9506f2586a9542641bf Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 8 Oct 2020 17:16:06 +0200 Subject: add build architecture to schema of depstate table --- webapp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'webapp.py') diff --git a/webapp.py b/webapp.py index 794af29..03d37b3 100644 --- a/webapp.py +++ b/webapp.py @@ -350,8 +350,7 @@ def collect_depstate(conn, source): version = None depstate = None query = sqlalchemy.text(""" - SELECT version, 'amd64' AS buildarch, architecture AS hostarch, - satisfiable, reason + SELECT version, buildarch, hostarch, satisfiable, reason FROM depstate WHERE source = :source;""") for row in conn.execute(query, source=source): if version is None or version_compare(version, row.version) > 0: -- cgit v1.2.3