X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fls.py;fp=dak%2Fls.py;h=a1f8c8ec2dc1b52f15cb7b0d6f46011484446218;hb=e9628d0da14a4a046b04ac6c20675432168dcc4a;hp=87d20a18e34ffc765c0223cd04b8204c9a03e606;hpb=4cba2a67e19776b8e294adb5e013b848531fdfb6;p=dak.git diff --git a/dak/ls.py b/dak/ls.py index 87d20a18..a1f8c8ec 100755 --- a/dak/ls.py +++ b/dak/ls.py @@ -124,7 +124,7 @@ def main (): new_packages = [] for package in packages: q = projectB.query("SELECT DISTINCT b.package FROM binaries b, bin_associations ba, suite su, source s WHERE b.source = s.id AND su.id = ba.suite AND b.id = ba.bin AND s.source %s '%s' %s" % (comparison_operator, package, con_suites)) - new_packages.extend(map(lambda x: x[0], q.getresult())) + new_packages.extend([ i[0] for i in q.getresult() ]) if package not in new_packages: new_packages.append(package) packages = new_packages