[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] examine_package



a missing = in sql is not what postgres likes

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 dak/examine_package.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/examine_package.py b/dak/examine_package.py
index 49d18dc..b4fa3f8 100755
--- a/dak/examine_package.py
+++ b/dak/examine_package.py
@@ -324,7 +324,7 @@ def create_depends_string (suite, depends_tree):
                 result += " | "
             # doesn't do version lookup yet.
 
-            q = projectB.query("SELECT DISTINCT(b.package), b.version, c.name, su.suite_name FROM  binaries b, files fi, location l, component c, bin_associations ba, suite su WHERE b.package='%s' AND b.file = fi.id AND fi.location = l.id AND l.component = c.id AND ba.bin=b.id AND ba.suite = su.id AND su.suite_name %s ORDER BY b.version desc" % (d['name'], suite_where))
+            q = projectB.query("SELECT DISTINCT(b.package), b.version, c.name, su.suite_name FROM  binaries b, files fi, location l, component c, bin_associations ba, suite su WHERE b.package='%s' AND b.file = fi.id AND fi.location = l.id AND l.component = c.id AND ba.bin=b.id AND ba.suite = su.id AND su.suite_name = %s ORDER BY b.version desc" % (d['name'], suite_where))
             ql = q.getresult()
             if ql:
                 i = ql[0]
-- 
1.5.6.5


Reply to: