Commit 487ddb2e authored by Yoshinori Okuji's avatar Yoshinori Okuji

Fix the order of parameters to handleAskStoreObject.

git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@121 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 404ee620
...@@ -209,7 +209,7 @@ class EventHandler(object): ...@@ -209,7 +209,7 @@ class EventHandler(object):
self.handleUnexpectedPacket(conn, packet) self.handleUnexpectedPacket(conn, packet)
def handleAskStoreObject(self, conn, packet, oid, serial, def handleAskStoreObject(self, conn, packet, oid, serial,
compression, data, checksum, tid): compression, checksum, data, tid):
self.handleUnexpectedPacket(conn, packet) self.handleUnexpectedPacket(conn, packet)
def handleAnswerStoreObject(self, conn, packet, status, oid): def handleAnswerStoreObject(self, conn, packet, status, oid):
......
...@@ -203,6 +203,6 @@ class StorageEventHandler(EventHandler): ...@@ -203,6 +203,6 @@ class StorageEventHandler(EventHandler):
self.handleUnexpectedPacket(conn, packet) self.handleUnexpectedPacket(conn, packet)
def handleAskStoreObject(self, conn, packet, oid, serial, def handleAskStoreObject(self, conn, packet, oid, serial,
compression, data, checksum, tid): compression, checksum, data, tid):
self.handleUnexpectedPacket(conn, packet) self.handleUnexpectedPacket(conn, packet)
...@@ -355,7 +355,7 @@ class OperationEventHandler(StorageEventHandler): ...@@ -355,7 +355,7 @@ class OperationEventHandler(StorageEventHandler):
conn.addPacket(Packet().answerStoreTransaction(packet.getId(), tid)) conn.addPacket(Packet().answerStoreTransaction(packet.getId(), tid))
def handleAskStoreObject(self, conn, packet, oid, serial, def handleAskStoreObject(self, conn, packet, oid, serial,
compression, data, checksum, tid): compression, checksum, data, tid):
uuid = conn.getUUID() uuid = conn.getUUID()
if uuid is None: if uuid is None:
self.handleUnexpectedPacket(conn, packet) self.handleUnexpectedPacket(conn, packet)
......
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