summaryrefslogtreecommitdiff
path: root/webapp.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2020-10-08 17:16:06 +0200
committerHelmut Grohne <helmut@subdivi.de>2020-10-08 17:16:06 +0200
commitaaae5693485ae850bfe2c9506f2586a9542641bf (patch)
tree40058cc72f43afedcf952aab96d1e00705939048 /webapp.py
parentbab219106d1b6761b4869ba60743e0c32ab7bf8c (diff)
downloadcrossqa-aaae5693485ae850bfe2c9506f2586a9542641bf.tar.gz
add build architecture to schema of depstate table
Diffstat (limited to 'webapp.py')
-rw-r--r--webapp.py3
1 files changed, 1 insertions, 2 deletions
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: