Commit c13649da authored by Jason Madden's avatar Jason Madden

Update comment. [skip ci]

parent 87748b15
...@@ -116,6 +116,8 @@ def handle_all_serials(oid, *args): ...@@ -116,6 +116,8 @@ def handle_all_serials(oid, *args):
The updated multi-commit API returns nothing from store(), and The updated multi-commit API returns nothing from store(), and
returns a sequence of resolved oids from tpc_vote. returns a sequence of resolved oids from tpc_vote.
NOTE: This function is removed entirely in ZODB 5.
""" """
d = {} d = {}
for arg in args: for arg in args:
...@@ -124,7 +126,9 @@ def handle_all_serials(oid, *args): ...@@ -124,7 +126,9 @@ def handle_all_serials(oid, *args):
elif arg: elif arg:
for t in arg: for t in arg:
if isinstance(t, bytes): if isinstance(t, bytes):
# This will be the tid returned by tpc_finish. # New protocol. The caller will use the tid
# returned from tpc_finish if we return a dict
# missing the oid.
pass pass
else: else:
oid, serial = t oid, serial = 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