From: Ansgar Burchardt Date: Tue, 11 Aug 2015 09:49:02 +0000 (+0200) Subject: ArchiveTransaction: add flush() method. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ff9a1a665927c55c1bbda660ea4b6e085a0072db;p=dak.git ArchiveTransaction: add flush() method. --- 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