Commit c07c23e6 authored by Jim Fulton's avatar Jim Fulton

Finish allowing transactions to be reused, because tests

Need to check for None as data value.
parent b2b1d6e5
......@@ -452,6 +452,9 @@ class ClientStorage(object):
try:
buf = trans.data(self)
except KeyError:
buf = None
if buf is None:
raise POSException.StorageTransactionError(
"Transaction not committing", meth, trans)
......
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