Set transaction description properly. Bug 4672
svn: r16734
This commit is contained in:
parent
4d0f6232e6
commit
9565f997f0
@ -360,9 +360,8 @@ class BatchOp(UpdateCallback):
|
||||
Should not be overridden without good reasons.
|
||||
"""
|
||||
self.db.disable_signals()
|
||||
with DbTxn("", self.db, batch=True) as self.trans:
|
||||
with DbTxn(self.title, self.db, batch=True) as self.trans:
|
||||
success = self._run()
|
||||
trans.set_description(self.title)
|
||||
self.db.enable_signals()
|
||||
self.db.request_rebuild()
|
||||
return success
|
||||
|
Loading…
Reference in New Issue
Block a user