X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dak%2Fprocess_accepted.py;h=661016c9a1e3d27eff2820b069ace24d323adbaf;hb=395ac2f98083b515037e24be7d363c4838a68314;hp=00893fdfb52670dbf3bb4993e88a06ab6efc1f5b;hpb=307823ca2367f65ccfbbc7c0bd5054f2883b9c9c;p=dak.git diff --git a/dak/process_accepted.py b/dak/process_accepted.py index 00893fdf..661016c9 100755 --- a/dak/process_accepted.py +++ b/dak/process_accepted.py @@ -46,6 +46,7 @@ from daklib import database from daklib import daklog from daklib import queue from daklib import utils +from daklib.binary import copy_temporary_contents from daklib.dak_exceptions import * from daklib.regexes import re_default_answer, re_issource, re_fdnic @@ -396,7 +397,7 @@ 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, architecture, newfile, reject): + if not copy_temporary_contents(package, version, architecture, newfile, reject): print "REJECT\n" + reject_message, projectB.query("ROLLBACK") raise MissingContents, "No contents stored for package %s, and couldn't determine contents of %s" % (package, newfile )