From: Mike O'Connor Date: Fri, 13 Mar 2009 19:50:23 +0000 (-0400) Subject: dont fail on every p-a .deb rescan X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=57bbf845c3ca4b111ec1b60eab1286a1ca92d1d5;p=dak.git dont fail on every p-a .deb rescan Signed-off-by: Mike O'Connor --- diff --git a/daklib/database.py b/daklib/database.py index d58dc72d..606e8f2d 100755 --- a/daklib/database.py +++ b/daklib/database.py @@ -837,7 +837,7 @@ def copy_temporary_contents(package, version, deb, reject): message = utils.TemplateSubst(subst, Cnf["Dir::Templates"]+"/missing-contents") utils.send_mail( message ) - Binary(deb, reject).scan_package() + exists = Binary(deb, reject).scan_package() if exists: sql = """INSERT INTO content_associations(binary_pkg,filepath,filename)