From 9565f997f06df4c0759519e7347721c02fb0198b Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Mon, 28 Feb 2011 21:02:42 +0000 Subject: [PATCH] Set transaction description properly. Bug 4672 svn: r16734 --- src/plugins/tool/MediaManager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/tool/MediaManager.py b/src/plugins/tool/MediaManager.py index 6c99db949..95fc1d6b5 100644 --- a/src/plugins/tool/MediaManager.py +++ b/src/plugins/tool/MediaManager.py @@ -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