From efa8e62a7bd94126fd18871bdd9b8ae201a0709f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 21 Mar 2015 10:57:34 +0100 Subject: reproducible: add architecture to .json --- bin/reproducible_json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_json.py b/bin/reproducible_json.py index fae0d402..38aa6757 100755 --- a/bin/reproducible_json.py +++ b/bin/reproducible_json.py @@ -21,13 +21,13 @@ output = [] log.info('Creating json dump of current reproducible status') -query = 'SELECT s.name, r.version, s.suite, r.status, r.build_date ' + \ +query = 'SELECT s.name, r.version, s.suite, s.architecture, r.status, r.build_date ' + \ 'FROM results AS r JOIN sources AS s ON r.package_id = s.id '+ \ 'WHERE status != ""' result = sorted(query_db(query)) log.info('\tprocessing ' + str(len(result))) -keys = ['package', 'version', 'suite', 'status', 'build_date'] +keys = ['package', 'version', 'suite', 'architecture', 'status', 'build_date'] for row in result: pkg = dict(zip(keys, row)) log.debug(pkg) -- cgit v1.2.3-70-g09d2