From 6a1992c646a03352b9872f010d29e46a823defbf Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Thu, 15 Jan 2009 09:57:59 +0100 Subject: [PATCH] Revert "examine_package" This reverts commit fb135219f1c99d0817e7d793bcfad3cc40a69a72. (idiot me, wrong place) Signed-off-by: Joerg Jaspert --- dak/examine_package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/examine_package.py b/dak/examine_package.py index b4fa3f84..49d18dc6 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] -- 2.39.5