]> git.decadent.org.uk Git - dak.git/commitdiff
dont fail on every p-a .deb rescan
authorMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 19:50:23 +0000 (15:50 -0400)
committerMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 19:50:23 +0000 (15:50 -0400)
Signed-off-by: Mike O'Connor <stew@vireo.org>
daklib/database.py

index d58dc72ddbb5817c28506c5704cea79f2873f171..606e8f2de8ba76afbe38528ac77610684252dfe6 100755 (executable)
@@ -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)