Commit 31b469ed authored by Fred Drake's avatar Fred Drake

Merge pull request #9 from Cito/master

Format log only when actually logging.
parents c51b064b d1d94b19
......@@ -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