summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_notes.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-08-08 13:52:30 +0000
committerHolger Levsen <holger@layer-acht.org>2015-08-11 10:59:49 +0200
commit805573adbbe212329373712f0d50635d94066bf1 (patch)
treec32e4435e21aa0d11873c659eca0db58bb894334 /bin/reproducible_notes.py
parentffcb145b580a35972d1be48798188f92cf760348 (diff)
downloadjenkins.debian.net-805573adbbe212329373712f0d50635d94066bf1.tar.xz
reproducible: notes: hardcode amd64 in a query for now
Diffstat (limited to 'bin/reproducible_notes.py')
-rwxr-xr-xbin/reproducible_notes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index 744b8dea..872cf201 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -43,7 +43,8 @@ def load_notes():
raise
query = 'SELECT s.id, s.version, s.suite ' + \
'FROM results AS r JOIN sources AS s ON r.package_id=s.id' + \
- ' WHERE s.name="{pkg}" AND r.status != ""'
+ ' WHERE s.name="{pkg}" AND r.status != ""' + \
+ ' AND s.architecture="amd64"'
query = query.format(pkg=pkg)
result = query_db(query)
if not result: