Commit ae7a3d07 authored by Aurel's avatar Aurel

fix decode history


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@201 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent bf4f12e9
......@@ -1089,7 +1089,7 @@ class Packet(object):
history_list = []
for i in xrange(12, 12 + length * 12, 12):
serial, size = unpack('!8sL', self._body[i:i+12])
history_list.append(tuple(serial, size))
history_list.append((serial, size))
except:
raise ProtocolError(self, 'invalid answer object history')
return oid, history_list
......
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