Commit 5a5b0e5a authored by Vincent Pelletier's avatar Vincent Pelletier

Correct typos in error messages.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2179 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6453e2dc
......@@ -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
......
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