Commit a0b76ff1 authored by Aurel's avatar Aurel

revert previsou change, due to a misunderstood

fix return value order of askStoreTransaction


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@113 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 82cc20a7
......@@ -536,8 +536,7 @@ class Packet(object):
body.append(user)
body.append(desc)
body.append(ext)
for oid in oid_list:
body.append(pack('8s', oid))
body.extend(oid_list)
self._body = ''.join(body)
return self
......@@ -962,7 +961,7 @@ class Packet(object):
raise ProtocolError(self, 'invalid ask store object')
if data_len != len(data):
raise ProtocolError(self, 'invalid data size')
return oid, serial, tid, compression, checksum, data
return oid, serial, compression, checksum, data, tid
decode_table[ASK_STORE_OBJECT] = _decodeAskStoreObject
def _decodeAnswerStoreObject(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