[Zope3-checkins] CVS: Zope3/src/transaction - manager.py:1.6
Jeremy Hylton
jeremy@zope.com
Mon, 10 Mar 2003 14:08:43 -0500
Update of /cvs-repository/Zope3/src/transaction
In directory cvs.zope.org:/tmp/cvs-serv6871/transaction
Modified Files:
manager.py
Log Message:
Fix typo and use msg to raise statement.
=== Zope3/src/transaction/manager.py 1.5 => 1.6 ===
--- Zope3/src/transaction/manager.py:1.5 Fri Mar 7 18:37:37 2003
+++ Zope3/src/transaction/manager.py Mon Mar 10 14:08:41 2003
@@ -52,10 +52,9 @@
txn._status = Status.FAILED
self.abort(txn)
msg = ("Transaction failed during second phase of two-"
- "phase commmit")
+ "phase commit")
self.logger.critical(msg, exc_info=error)
- raise TransactionError("Transaction failed during second "
- "phase of two-phase commit")
+ raise TransactionError(msg)
def abort(self, txn):
self.logger.debug("%s: abort", txn)