[Neo-report] r2179 vincent - /trunk/neo/storage/database/manager.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jun 18 16:43:43 CEST 2010
Author: vincent
Date: Fri Jun 18 16:43:43 2010
New Revision: 2179
Log:
Correct typos in error messages.
Modified:
trunk/neo/storage/database/manager.py
Modified: trunk/neo/storage/database/manager.py
==============================================================================
--- trunk/neo/storage/database/manager.py [iso-8859-1] (original)
+++ trunk/neo/storage/database/manager.py [iso-8859-1] Fri Jun 18 16:43:43 2010
@@ -35,7 +35,7 @@ class DatabaseManager(object):
Begin a transaction
"""
if self._under_transaction:
- raise DatabaseFailure('A transaction as already began')
+ raise DatabaseFailure('A transaction has already begun')
self._begin()
self._under_transaction = True
@@ -44,7 +44,7 @@ class DatabaseManager(object):
Commit the current transaction
"""
if not self._under_transaction:
- raise DatabaseFailure('The transaction as not began')
+ raise DatabaseFailure('The transaction has not begun')
self._commit()
self._under_transaction = False
More information about the Neo-report
mailing list