Commit fe182463 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Make sure that _decodeUnlockInformation returns a tuple.

git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@125 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 76045cbf
......@@ -941,7 +941,7 @@ class Packet(object):
tid = unpack('8s', self._body)[0]
except:
raise ProtocolError(self, 'invalid unlock information')
return tid
return (tid,)
decode_table[UNLOCK_INFORMATION] = _decodeUnlockInformation
def _decodeAbortTransaction(self):
......
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