X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=aa38a0032c5de584e63ff9a56b22236ca295b35e;hb=57bbf845c3ca4b111ec1b60eab1286a1ca92d1d5;hp=8a49f009e5ffdff7931442c28e0182e31eb8db12;hpb=04dc27ae10c3dc9bb001544c297ae089256c3ef1;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 8a49f009..aa38a003 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -389,7 +389,8 @@ def check_files(): cursor = DBConn().cursor() # Check for packages that have moved from one component to another # STU: this should probably be changed to not join on architecture, suite tables but instead to used their cached name->id mappings from DBConn - cursor.execute("""PREPARE moved_pkg_q(text,text,text) AS + DBConn().prepare("moved_pkg_q", """ + PREPARE moved_pkg_q(text,text,text) AS SELECT c.name FROM binaries b, bin_associations ba, suite s, location l, component c, architecture a, files f WHERE b.package = $1 AND s.suite_name = $2