Commit b2ec24e7 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Decode serial (to None if INVALID_TID).

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1907 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 56a5f174
......@@ -886,6 +886,7 @@ class AskStoreObject(Packet):
header_len = self._header_len
r = unpack(self._header_format, body[:header_len])
oid, serial, tid, compression, checksum = r
serial = _decodeTID(serial)
(data, _) = _readString(body, 'data', offset=header_len)
return (oid, serial, compression, checksum, data, tid)
......
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