From ff9a1a665927c55c1bbda660ea4b6e085a0072db Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Tue, 11 Aug 2015 11:49:02 +0200 Subject: [PATCH] ArchiveTransaction: add flush() method. --- daklib/archive.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daklib/archive.py b/daklib/archive.py index 04c55c0a..44931ffc 100644 --- a/daklib/archive.py +++ b/daklib/archive.py @@ -531,6 +531,9 @@ class ArchiveTransaction(object): self.session.rollback() self.fs.rollback() + def flush(self): + self.session.flush() + def __enter__(self): return self -- 2.39.5