X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_accepted.py;h=e55ac54d0a320cd53e4cc92e932103392aecdacd;hb=b7e5c9a6deda1018da9023d1d01acec86e165ba4;hp=3d97473fb3ae6255d373af4991fa190ff73e6597;hpb=4bb2ccf4b89fa3310af4bdc68d8aac0e7147c42d;p=dak.git diff --git a/dak/process_accepted.py b/dak/process_accepted.py index 3d97473f..e55ac54d 100755 --- a/dak/process_accepted.py +++ b/dak/process_accepted.py @@ -390,9 +390,9 @@ def install (): suite_id = database.get_suite_id(suite) projectB.query("INSERT INTO bin_associations (suite, bin) VALUES (%d, currval('binaries_id_seq'))" % (suite_id)) - if not database.copy_temporary_contents(package, version, newfile, reject): + if not database.copy_temporary_contents(package, version, architecture, newfile, reject): print "REJECT\n" + reject_message, - projectB.query("COMMIT WORK") + projectB.query("ROLLBACK") raise MissingContents, "No contents stored for package %s, and couldn't determine contents of %s" % (package, newfile )