]> git.decadent.org.uk Git - dak.git/commitdiff
ArchiveTransaction: add flush() method.
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 11 Aug 2015 09:49:02 +0000 (11:49 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Tue, 11 Aug 2015 09:49:02 +0000 (11:49 +0200)
daklib/archive.py

index 04c55c0ae8f45ba0e7b4f63870b24a627fe191e5..44931ffc0a55424866875e7210cf5522ffa3d2c1 100644 (file)
@@ -531,6 +531,9 @@ class ArchiveTransaction(object):
         self.session.rollback()
         self.fs.rollback()
 
+    def flush(self):
+        self.session.flush()
+
     def __enter__(self):
         return self