Commit d1d94b19 authored by Christoph Zwerschke's avatar Christoph Zwerschke

Format log only when actually logging.

parent c51b064b
......@@ -389,7 +389,7 @@ class Transaction(object):
rm.tpc_begin(self)
for rm in L:
rm.commit(self)
self.log.debug("commit %r" % rm)
self.log.debug("commit %r", rm)
for rm in L:
rm.tpc_vote(self)
self._voted[id(rm)] = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment