]> err.no Git - dak/commitdiff
remember to commit
authorMark Hymers <mhy@debian.org>
Mon, 25 May 2009 18:18:00 +0000 (19:18 +0100)
committerMark Hymers <mhy@debian.org>
Sun, 9 Aug 2009 15:49:24 +0000 (16:49 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/binary.py

index 4b6618ea6b34f9ac1984f6e6901a4487bad512a1..37176e86b53f696ba5ba568a32403499f2ae257b 100755 (executable)
@@ -306,6 +306,7 @@ def copy_temporary_contents(package, version, archname, deb, reject, session=Non
         sql = """DELETE from pending_content_associations
                  WHERE package=:package AND version=:version AND architecture=:archid"""
         session.execute(sql, vals)
+        session.commit()
 
     return exists