summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_notes.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_notes.py')
-rwxr-xr-xbin/reproducible_notes.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py
index 4d8b8284..8b81781a 100755
--- a/bin/reproducible_notes.py
+++ b/bin/reproducible_notes.py
@@ -43,10 +43,10 @@ def load_notes():
except AssertionError:
print_critical_message(pkg + ' does not include a version')
irc_msg('The note for ' + pkg + ' does not include a version.')
- 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 != ""'
- #' AND s.architecture="amd64"'
+ 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 != ''"""
+ # AND s.architecture='amd64'"""
query = query.format(pkg=pkg)
result = query_db(query)
if not result: