]> git.decadent.org.uk Git - dak.git/commitdiff
dak/import.py: commit after each imported package
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 16 Mar 2013 17:01:23 +0000 (18:01 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 16 Mar 2013 17:01:23 +0000 (18:01 +0100)
dak/import.py

index d3bb957bdcbf31f9cf354729662c3a6931d0ecfd..36d965eeeeba0cf784109a34c587463de772d9c0 100644 (file)
@@ -139,6 +139,8 @@ def import_dump(log, transaction, suite, component, fh,
                     fingerprint=fingerprint, changed_by=changed_by,
                     keyrings=keyrings, require_signature=require_signature, add_overrides=add_overrides)
 
+        transaction.commit()
+
 _export_query = r"""
 WITH
 tmp AS