projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d5cb6a
)
ArchiveTransaction: add flush() method.
author
Ansgar Burchardt
<ansgar@debian.org>
Tue, 11 Aug 2015 09:49:02 +0000
(11:49 +0200)
committer
Ansgar Burchardt
<ansgar@debian.org>
Tue, 11 Aug 2015 09:49:02 +0000
(11:49 +0200)
daklib/archive.py
patch
|
blob
|
history
diff --git
a/daklib/archive.py
b/daklib/archive.py
index 04c55c0ae8f45ba0e7b4f63870b24a627fe191e5..44931ffc0a55424866875e7210cf5522ffa3d2c1 100644
(file)
--- 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