Skip to content

Commit

Permalink
Finish allowing transactions to be reused, because tests
Browse files Browse the repository at this point in the history
Need to check for None as data value.
  • Loading branch information
Jim Fulton committed May 27, 2016
1 parent b2b1d6e commit c07c23e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ZEO/ClientStorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ def _check_trans(self, trans, meth):
try:
buf = trans.data(self)
except KeyError:
buf = None

if buf is None:
raise POSException.StorageTransactionError(
"Transaction not committing", meth, trans)

Expand Down

0 comments on commit c07c23e

Please sign in to comment.