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

Raise when transaction information cannot be found rather than silently skipping to next TID.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@650 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent efe97eca
......@@ -858,7 +858,9 @@ class Application(object):
if self.local_var.txn_info in (-1, 0):
# TID not found at all
continue
raise NeoException, 'Data inconsistency detected: ' \
'transaction info for TID %r could not ' \
'be found' % (tid, )
if filter is None or filter(self.local_var.txn_info):
self.local_var.txn_info.pop("oids")
......
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