import time
import types
import utils
+from binary import Binary
################################################################################
################################################################################
-def copy_temporary_contents(package, version, deb):
+def copy_temporary_contents(package, version, deb, reject):
"""
copy the previously stored contents from the temp table to the permanant one
message = utils.TemplateSubst(subst, Cnf["Dir::Templates"]+"/missing-contents")
utils.send_mail( message )
- exists = DBConn().insert_content_path(package, version, deb)
+ exists = Binary(deb, reject).scan_package()
if exists:
sql = """INSERT INTO content_associations(binary_pkg,filepath,filename)