Commit f723678d authored by Chris McDonough's avatar Chris McDonough

Changed wording of error when a nonundoable transaction is attempted to be...

Changed wording of error when a nonundoable transaction is attempted to be undone from "undoable transaction" to "nonundoable transaction"
parent 6f639298
...@@ -150,7 +150,7 @@ method:: ...@@ -150,7 +150,7 @@ method::
and call it to minotor the storage. and call it to minotor the storage.
""" """
__version__='$Revision: 1.4 $'[11:-2] __version__='$Revision: 1.5 $'[11:-2]
import base64, POSException, BTree, BaseStorage, time, string, utils import base64, POSException, BTree, BaseStorage, time, string, utils
from TimeStamp import TimeStamp from TimeStamp import TimeStamp
...@@ -364,7 +364,7 @@ class DemoStorage(BaseStorage.BaseStorage): ...@@ -364,7 +364,7 @@ class DemoStorage(BaseStorage.BaseStorage):
vindex_get=self._vindex.get vindex_get=self._vindex.get
for r in t: for r in t:
if index[r[0]] is not r: if index[r[0]] is not r:
raise POSException.UndoError, 'Undoable transaction' raise POSException.UndoError, 'non-undoable transaction'
oids=[] oids=[]
for r in t: for r in t:
......
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